|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpars.actor.ActorMessage
class ActorMessage
An internal representation of received messages holding both the original message plus the sender actor reference. This class is not intended to be use directly by users.
Constructor Summary | |
ActorMessage(Object payLoad, MessageStream sender)
Creates a new instance |
|
protected ActorMessage()
Constructor for serialization |
Method Summary | |
---|---|
static ActorMessage
|
build(T payLoad)
Factory method to create instances of ActorMessage with given payload. |
Object
|
getPayLoad()
|
MessageStream
|
getSender()
|
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public ActorMessage(Object payLoad, MessageStream sender)
protected ActorMessage()
Method Detail |
---|
public static ActorMessage build(T payLoad)
public Object getPayLoad()
public MessageStream getSender()
@Override public String toString()
Groovy Documentation