Message type which is sent directly to the subscribed actor in akka.actor.FSM.SubscribeTransitionCallBack before sending any akka.actor.FSM.Transition messages.
All messages sent to the akka.actor.FSM will be wrapped inside an
Event
, which allows pattern matching to extract both state and data.
FSMState base trait, makes possible for simple default serialization by conversion to String
Signifies that the akka.actor.FSM is shutting itself down because of an error, e.g.
Signifies that the akka.actor.FSM is shutting itself down because of
an error, e.g. if the state to transition into does not exist. You can use
this to communicate a more precise cause to the onTermination
block.
Log Entry of the akka.actor.LoggingFSM, can be obtained by calling getLog
.
Reason why this akka.actor.FSM is shutting down.
This captures all of the managed state of the akka.actor.FSM: the state name, the state data, possibly custom timeout, stop reason, replies accumulated while processing the last message, possibly domain event and handler to be executed after FSM moves to the new state (also triggered when staying in the same state)
Persisted on state change
Persisted on state change
FSM state identifier
FSM state timeout
Case class representing the state of the akka.actor.FSM whithin the
onTermination
block.
Send this to an akka.actor.FSM to request first the PersistentFSM.CurrentState and then a series of PersistentFSM.Transition updates.
Send this to an akka.actor.FSM to request first the PersistentFSM.CurrentState and then a series of PersistentFSM.Transition updates. Cancel the subscription using PersistentFSM.UnsubscribeTransitionCallBack.
Message type which is used to communicate transitions between states to all subscribed listeners (use akka.actor.FSM.SubscribeTransitionCallBack).
Unsubscribe from akka.actor.FSM.Transition notifications which was effected by sending the corresponding akka.actor.FSM.SubscribeTransitionCallBack.
This extractor is just convenience for matching a (S, S) pair, including a reminder what the new state is.
Default reason if calling stop()
.
A partial function value which does not match anything and can be used to
“reset” whenUnhandled
and onTermination
handlers.
A partial function value which does not match anything and can be used to
“reset” whenUnhandled
and onTermination
handlers.
onTermination(FSM.NullFunction)
Reason given when someone was calling system.stop(fsm)
from outside;
also applies to Stop
supervision directive.
This case object is received in case of a state timeout.