public class BamLogService extends SimpleActor
Constructor and Description |
---|
BamLogService() |
Modifier and Type | Method and Description |
---|---|
void |
message(java.lang.String to,
java.lang.String from,
java.io.Serializable value)
Sends to a mailbox
|
protected java.lang.String |
messageToText(java.io.Serializable value) |
void |
setLevel(java.lang.String level)
Sets the level
|
void |
setName(java.lang.String name)
Sets the logger name.
|
getActor, getAddress, getBroker, getMailbox, getSender, setAddress, setBroker, setMailbox
isClosed, messageError, query, queryError, queryResult, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isClosed, messageError, query, queryError, queryResult
public void setName(java.lang.String name)
public void setLevel(java.lang.String level)
public void message(java.lang.String to, java.lang.String from, java.io.Serializable value)
message
in interface MessageStream
message
in class AbstractMessageStream
to
- the target actor's addressfrom
- the source actor's addressvalue
- the message payloadprotected java.lang.String messageToText(java.io.Serializable value)