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.
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 akka.actor.FSM.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 and replies accumulated while processing the last message.
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 FSM.CurrentState and then a series of FSM.Transition updates.
Send this to an akka.actor.FSM to request first the FSM.CurrentState and then a series of FSM.Transition updates. Cancel the subscription using FSM.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.