Groovy Documentation

gpars.actor.impl
Class ReceivingMessageStream.ReplyCategory

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

class ReceivingMessageStream.ReplyCategory

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


Constructor Summary
private ReceivingMessageStream.ReplyCategory()

 
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
 

Constructor Detail

ReceivingMessageStream.ReplyCategory

private ReceivingMessageStream.ReplyCategory()


 
Method Detail

getSender

public static MessageStream getSender(Object original)
Retrieves the originator of a message
param:
original The message to detect the originator of
return:
The message originator


reply

public static void reply(Object original, Object reply)


replyIfExists

public static void replyIfExists(Object original, Object reply)


 

Groovy Documentation