org.codehaus.gpars

groovyx.gpars.actor
[Java] Class ActorMessage

java.lang.Object
  groovyx.gpars.actor.ActorMessage
All Implemented Interfaces:
java.io.Serializable

public 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.

Authors:
Vaclav Pech, Alex Tkachman Date: Feb 27, 2009


Field Summary
private java.lang.Object payLoad

private MessageStream sender

private static long serialVersionUID

 
Constructor Summary
ActorMessage(java.lang.Object payLoad, MessageStream sender)

protected ActorMessage()

 
Method Summary
static ActorMessage build(java.lang.Object payLoad)

java.lang.Object getPayLoad()

MessageStream getSender()

java.lang.String toString()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

payLoad

private java.lang.Object payLoad


sender

private MessageStream sender


serialVersionUID

private static final long serialVersionUID


 
Constructor Detail

ActorMessage

public ActorMessage(java.lang.Object payLoad, MessageStream sender)


ActorMessage

protected ActorMessage()


 
Method Detail

build

public static ActorMessage build(java.lang.Object payLoad)


getPayLoad

public java.lang.Object getPayLoad()


getSender

public MessageStream getSender()


toString

@java.lang.Override
public java.lang.String toString()


 

Copyright © 2008–2013 Václav Pech. All Rights Reserved.