|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.serial.WithSerialId groovyx.gpars.actor.impl.MessageStream groovyx.gpars.actor.Actor groovyx.gpars.actor.impl.ReplyingMessageStream
@SuppressWarnings({"ThrowableInstanceNeverThrown"}) public abstract class ReplyingMessageStream extends Actor
Field Summary | |
---|---|
private MessageStream |
sender
A list of senders for the currently processed messages |
private static long |
serialVersionUID
|
Fields inherited from class MessageStream | |
---|---|
serialVersionUID |
Fields inherited from class WithSerialId | |
---|---|
serialHandle, serialVersionUID |
Constructor Summary | |
ReplyingMessageStream()
|
Method Summary | |
---|---|
protected MessageStream
|
getSender()
|
protected void
|
reply(java.lang.Object message)
Sends a reply to all currently processed messages. |
protected void
|
replyIfExists(java.lang.Object message)
Sends a reply to all currently processed messages, which have been sent by an actor. |
protected void
|
setSender(MessageStream sender)
|
Methods inherited from class MessageStream | |
---|---|
call, getRemoteClass, leftShift, reInterrupt, send, send, send, sendAndWait, sendAndWait, sendAndWait |
Methods inherited from class WithSerialId | |
---|---|
createRemoteHandle, getOrCreateSerialHandle, getRemoteClass, writeReplace |
Field Detail |
---|
private MessageStream sender
private static final long serialVersionUID
Constructor Detail |
---|
ReplyingMessageStream()
Method Detail |
---|
@SuppressWarnings({"ReturnOfCollectionOrArrayField"}) protected final MessageStream getSender()
protected final void reply(java.lang.Object message)
message
- reply message
protected final void replyIfExists(java.lang.Object message)
message
- reply message
protected final void setSender(MessageStream sender)
Copyright © 2008–2012 Václav Pech. All Rights Reserved.