Package com.mackenziehigh.cascade
Class Cascade.AbstractStage.DefaultActor<I,O>
java.lang.Object
com.mackenziehigh.cascade.Cascade.AbstractStage.DefaultActor<I,O>
- Type Parameters:
I- is the type of the messages incoming to the actor.O- is the type of the messages outgoing from the actor.
- All Implemented Interfaces:
Cascade.Stage.Actor<I,,O> Runnable
- Enclosing class:
- Cascade.AbstractStage
public final class Cascade.AbstractStage.DefaultActor<I,O>
extends Object
implements Cascade.Stage.Actor<I,O>, Runnable
Default Actor Implementation.
A (meta) object is stored herein, which is intended for use by implementing sub-classes, so that they can store actor specific information.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mackenziehigh.cascade.Cascade.Stage.Actor
Cascade.Stage.Actor.Builder<I,O>, Cascade.Stage.Actor.ConsumerErrorHandler, Cascade.Stage.Actor.ConsumerScript<I>, Cascade.Stage.Actor.Context<I, O>, Cascade.Stage.Actor.ContextErrorHandler<I, O>, Cascade.Stage.Actor.ContextScript<I, O>, Cascade.Stage.Actor.FunctionScript<I, O>, Cascade.Stage.Actor.Input<T>, Cascade.Stage.Actor.Mailbox<I>, Cascade.Stage.Actor.Output<T> -
Method Summary
-
Method Details
-
run
public void run() -
stage
Description copied from interface:Cascade.Stage.ActorGet theStagethat contains this actor.- Specified by:
stagein interfaceCascade.Stage.Actor<I,O> - Returns:
- the enclosing stage.
-
context
Description copied from interface:Cascade.Stage.ActorGet theContextthat is passed intoContextScripts.- Specified by:
contextin interfaceCascade.Stage.Actor<I,O> - Returns:
- the context used when executing scripts.
-
input
Description copied from interface:Cascade.Stage.ActorGet theInputthat supplies messages to this actor.- Specified by:
inputin interfaceCascade.Stage.Actor<I,O> - Returns:
- the input to the actor.
-
output
Description copied from interface:Cascade.Stage.ActorGet theOutputthat receives messages from this actor.- Specified by:
outputin interfaceCascade.Stage.Actor<I,O> - Returns:
- the output from the actor.
-
meta
-
meta
-