|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpars.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 |
---|
public static MessageStream getSender(Object original)
original
- The message to detect the originator of
public static void reply(Object original, Object reply)
public static void replyIfExists(Object original, Object reply)
Groovy Documentation