|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpars.actor.impl.SequentialProcessingActor.Reaction
@SuppressWarnings({"InstanceVariableOfConcreteClass"}) class SequentialProcessingActor.Reaction
Buffers messages for the next continuation of an event-driven actor, handles timeouts and no-param continuations.
Constructor Summary | |
SequentialProcessingActor.Reaction(SequentialProcessingActor actor, boolean codeNeedsArgument, Closure code)
Creates a new instance. |
Method Summary | |
---|---|
boolean
|
isReady()
Indicates whether a message or a timeout has arrived. |
void
|
offer(ActorMessage actorMessage)
|
void
|
setTimeout(long timeout)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public SequentialProcessingActor.Reaction(SequentialProcessingActor actor, boolean codeNeedsArgument, Closure code)
Method Detail |
---|
@SuppressWarnings({"BooleanMethodIsAlwaysInverted"}) public boolean isReady()
public void offer(ActorMessage actorMessage)
public void setTimeout(long timeout)
Groovy Documentation