Groovy Documentation

gpars.actor.impl
[Java] Class ReceivingMessageStream.ReplyCategory

java.lang.Object
  gpars.actor.impl.ReceivingMessageStream.ReplyCategory

public static final class ReceivingMessageStream.ReplyCategory

Enhances objects with the ability to send replies and detect message originators.


Method Summary
static MessageStream getSender(Object original)

Retrieves the originator of a message

static void reply(Object original, Object reply)

static void replyIfExists(Object original, Object reply)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

getSender

public static MessageStream getSender(Object original)
Retrieves the originator of a message
Parameters:
original - The message to detect the originator of
Returns:
The message originator


reply

public static void reply(Object original, Object reply)


replyIfExists

public static void replyIfExists(Object original, Object reply)


 

Groovy Documentation