Class 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>
    The FlowActor is the default Actor implementation for a StepFlow.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        FlowActor()  
      protected FlowActor​(java.util.List<State> states)  
    • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface io.vlingo.actors.Stoppable

        conclude, isStopped, stop
    • 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()
        Specified by:
        shutDown in interface StepFlow
      • startUp

        public io.vlingo.common.Completes<java.lang.Boolean> startUp()
        Specified by:
        startUp in interface StepFlow
      • getKernel

        public io.vlingo.common.Completes<Kernel> getKernel()
        Specified by:
        getKernel in interface StepFlow
      • getName

        public io.vlingo.common.Completes<java.lang.String> getName()
        Specified by:
        getName in interface StepFlow
      • intervalSignal

        public void intervalSignal​(io.vlingo.common.Scheduled scheduled,
                                   io.vlingo.actors.Message data)
        Specified by:
        intervalSignal in interface io.vlingo.common.Scheduled<io.vlingo.actors.Message>