|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.remote.RemoteMessage
public class RemoteMessage
RemoteMessage is a wrapper around a message that has come in over the wire, it allows to easily obtain references to the deserialized message, its intended recipient and the sender.
Constructor Summary | |
---|---|
RemoteMessage(RemoteProtocol.RemoteMessageProtocol input,
ExtendedActorSystem system)
|
Method Summary | |
---|---|
java.lang.String |
originalReceiver()
Returns a String-representation of the ActorPath that this RemoteMessage is destined for |
scala.Option<java.lang.String> |
originalSender()
Returns an Option with the String representation of the ActorPath of the Actor who is the sender of this message |
java.lang.Object |
payload()
Returns the message |
java.lang.Class<?> |
payloadClass()
|
akka.actor.InternalActorRef |
recipient()
Returns a reference to the Actor that this message is destined for. |
ActorRef |
sender()
Returns a reference to the Actor that sent this message, or DeadLetterActorRef if not present or found. |
java.lang.String |
toString()
Returns a String representation of this RemoteMessage, intended for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteMessage(RemoteProtocol.RemoteMessageProtocol input, ExtendedActorSystem system)
Method Detail |
---|
public java.lang.String originalReceiver()
public scala.Option<java.lang.String> originalSender()
public ActorRef sender()
public akka.actor.InternalActorRef recipient()
public java.lang.Object payload()
public java.lang.Class<?> payloadClass()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |