|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semispace.actor.ActorMessage
public class ActorMessage
Constructor Summary | |
---|---|
ActorMessage()
|
Method Summary | |
---|---|
Long |
getAddress()
The destination actor for the message. |
Long |
getOriginatorId()
Sender of the message. |
Object |
getPayload()
The payload of this message |
boolean |
isOfType(Class<?> clazz)
Use this method to figure out if the payload is of a certain type. |
void |
setAddress(Long whichActorToSendTo)
|
void |
setOriginatorId(Long originatorId)
|
void |
setPayload(Object payload)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActorMessage()
Method Detail |
---|
public Object getPayload()
public void setPayload(Object payload)
public Long getAddress()
public Long getOriginatorId()
public void setOriginatorId(Long originatorId)
public boolean isOfType(Class<?> clazz)
public void setAddress(Long whichActorToSendTo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |