public final class NullActorRef extends java.lang.Object implements AmpActorRef
Constructor and Description |
---|
NullActorRef(java.lang.String address) |
Modifier and Type | Method and Description |
---|---|
void |
error(AmpActorRef from,
AmpEncoder encoder,
AmpError error) |
java.lang.String |
getAddress() |
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 java.lang.String getAddress()
getAddress
in interface AmpActorRef
public 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