public abstract class AbstractActorRef extends java.lang.Object implements AmpActorRef
Constructor and Description |
---|
AbstractActorRef() |
Modifier and Type | Method and Description |
---|---|
void |
error(AmpActorRef from,
AmpEncoder encoder,
AmpError error) |
abstract java.lang.String |
getAddress() |
abstract AmpMethodRef |
getMethod(java.lang.String methodName,
AmpEncoder encoder) |
void |
query(long id,
AmpActorRef from,
AmpEncoder encoder,
java.lang.String methodName,
java.lang.Object... args) |
void |
queryError(long id,
AmpActorRef from,
AmpEncoder encoder,
AmpError error) |
void |
reply(long id,
AmpActorRef from,
AmpEncoder encoder,
java.lang.Object result) |
void |
send(AmpActorRef from,
AmpEncoder encoder,
java.lang.String methodName,
java.lang.Object... args) |
java.lang.String |
toString() |
public abstract java.lang.String getAddress()
getAddress
in interface AmpActorRef
public abstract AmpMethodRef getMethod(java.lang.String methodName, AmpEncoder encoder)
getMethod
in interface AmpActorRef
public void send(AmpActorRef from, AmpEncoder encoder, java.lang.String methodName, java.lang.Object... args)
send
in interface AmpActorRef
public void query(long id, AmpActorRef from, AmpEncoder encoder, java.lang.String methodName, java.lang.Object... args)
query
in interface AmpActorRef
public void reply(long id, AmpActorRef from, AmpEncoder encoder, java.lang.Object result)
reply
in interface AmpActorRef
public void queryError(long id, AmpActorRef from, AmpEncoder encoder, AmpError error)
queryError
in interface AmpActorRef
public void error(AmpActorRef from, AmpEncoder encoder, AmpError error)
error
in interface AmpActorRef
public java.lang.String toString()
toString
in class java.lang.Object