Package io.vlingo.xoom.stepflow
Class FlowActor
- java.lang.Object
-
- io.vlingo.actors.Actor
-
- io.vlingo.xoom.stepflow.FlowActor
-
- All Implemented Interfaces:
io.vlingo.actors.Relocatable
,io.vlingo.actors.Startable
,io.vlingo.actors.Stoppable
,io.vlingo.actors.testkit.TestStateView
,io.vlingo.common.Scheduled<io.vlingo.actors.Message>
,StepFlow
public abstract class FlowActor extends io.vlingo.actors.Actor implements StepFlow, io.vlingo.common.Scheduled<io.vlingo.actors.Message>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vlingo.common.Completes<StateTransition>
applyEvent(Event event)
io.vlingo.common.Completes<Kernel>
getKernel()
io.vlingo.common.Completes<java.lang.String>
getName()
void
intervalSignal(io.vlingo.common.Scheduled scheduled, io.vlingo.actors.Message data)
io.vlingo.common.Completes<java.lang.Boolean>
shutDown()
io.vlingo.common.Completes<java.lang.Boolean>
startUp()
-
Methods inherited from class io.vlingo.actors.Actor
address, afterRestart, afterStop, answerFrom, beforeRestart, beforeResume, beforeStart, childActorFor, childActorFor, completableFuture, completes, completesEventually, conclude, deadLetters, definition, disperseStowedMessages, equals, future, hashCode, isStopped, logger, parentAs, scheduler, secure, selfAs, stage, stageNamed, start, stateSnapshot, stateSnapshot, stop, stowMessages, toString, viewTestState, viewTestStateInitialization
-
-
-
-
Constructor Detail
-
FlowActor
public FlowActor()
-
FlowActor
protected FlowActor(java.util.List<State> states)
-
-
Method Detail
-
shutDown
public io.vlingo.common.Completes<java.lang.Boolean> shutDown()
-
startUp
public io.vlingo.common.Completes<java.lang.Boolean> startUp()
-
getKernel
public io.vlingo.common.Completes<Kernel> getKernel()
-
applyEvent
public io.vlingo.common.Completes<StateTransition> applyEvent(Event event)
- Specified by:
applyEvent
in interfaceStepFlow
-
getName
public io.vlingo.common.Completes<java.lang.String> getName()
-
intervalSignal
public void intervalSignal(io.vlingo.common.Scheduled scheduled, io.vlingo.actors.Message data)
- Specified by:
intervalSignal
in interfaceio.vlingo.common.Scheduled<io.vlingo.actors.Message>
-
-