|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object juglr.Message
public class Message
Abstract base class for all message types. It is recommended to use the
Box
class to transfer messages between actors since
it guarantees "shared nothing" which is important in highly parallel
computation.
Actor
,
Box
,
MessageBus
Constructor Summary | |
---|---|
Message()
|
Method Summary | |
---|---|
Address |
getSender()
Get the Address of the Actor responsible for sending
this message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message()
Method Detail |
---|
public Address getSender()
Address
of the Actor
responsible for sending
this message. Useful for responding to messages from otherwise unknown
parties. The sender address is guaranteed to be set when receiving a
message in Actor.react(juglr.Message)
or Actor.awaitMessage()
.
null
if this message has
not been send
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |