public class SimpleActorRef extends java.lang.Object implements BamActorRef
Constructor and Description |
---|
SimpleActorRef(java.lang.String address,
Broker broker) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress() |
boolean |
isActive() |
void |
message(java.lang.String from,
java.io.Serializable payload) |
void |
messageError(java.lang.String from,
java.io.Serializable payload,
BamError error) |
void |
query(long id,
java.lang.String from,
java.io.Serializable payload) |
void |
queryError(long id,
java.lang.String from,
java.io.Serializable payload,
BamError error) |
void |
queryResult(long id,
java.lang.String from,
java.io.Serializable payload) |
java.lang.String |
toString() |
public SimpleActorRef(java.lang.String address, Broker broker)
public java.lang.String getAddress()
getAddress
in interface BamActorRef
public boolean isActive()
isActive
in interface BamActorRef
public void message(java.lang.String from, java.io.Serializable payload)
message
in interface BamActorRef
public void messageError(java.lang.String from, java.io.Serializable payload, BamError error)
messageError
in interface BamActorRef
public void query(long id, java.lang.String from, java.io.Serializable payload)
query
in interface BamActorRef
public void queryResult(long id, java.lang.String from, java.io.Serializable payload)
queryResult
in interface BamActorRef
public void queryError(long id, java.lang.String from, java.io.Serializable payload, BamError error)
queryError
in interface BamActorRef
public java.lang.String toString()
toString
in class java.lang.Object