Class ActorMessage
java.lang.Object
org.semispace.actor.ActorMessage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe destination actor for the message.Sender of the message.The payload of this messagebooleanUse this method to figure out if the payload is of a certain type.voidsetAddress(Long whichActorToSendTo) voidsetOriginatorId(Long originatorId) voidsetPayload(Object payload)
-
Constructor Details
-
ActorMessage
public ActorMessage()
-
-
Method Details
-
getPayload
The payload of this message -
setPayload
-
getAddress
The destination actor for the message. Should not be used for purposes outside the framework. This method is public in order to get the space to pick it up. -
getOriginatorId
Sender of the message. This is the value you would use to reply to when using the space. -
setOriginatorId
-
isOfType
Use this method to figure out if the payload is of a certain type. -
setAddress
-