FSM<(Of <(<'TS, TD>)>)> Members
The FSM<(Of <(<'TS, TD>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AroundPostRestart |
Can be overridden to intercept calls to `postRestart`. Calls `postRestart` by default.
(Inherited from ActorBase.) |
![]() |
AroundPostStop |
Can be overridden to intercept calls to `postStop`. Calls `postStop` by default..
(Inherited from ActorBase.) |
![]() |
AroundPreRestart |
Can be overridden to intercept calls to `preRestart`. Calls `preRestart` by default.
(Inherited from ActorBase.) |
![]() |
AroundPreStart |
Can be overridden to intercept calls to `preStart`. Calls `preStart` by default.
(Inherited from ActorBase.) |
![]() |
Become | (Inherited from ActorBase.) |
![]() |
CancelTimer |
Cancel a named Timer, ensuring that the message is not subsequently delivered (no race.)
|
![]() |
Equals(System.Object) | (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GoTo |
Produce transition to other state. Return this from a state function
in order to effect the transition.
|
![]() |
Initialize |
Verify the existence of initial state and setup timers. This should be the
last call within the constructor or PreStart()()()() and
PostRestart(Exception).
|
![]() |
IsTimerActive |
Determines whether the named timer is still active. Returns true
unless the timer does not exist, has previously been cancelled, or
if it was a single-shot timer whose message was already received.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnTermination |
Set the handler which is called upon termination of this FSM actor. Calling this
method again will overwrite the previous contents.
|
![]() |
OnTransition |
Set handler which is called upon each state transition, i.e. not when
staying in the same state.
|
![]() |
PostRestart | (Inherited from ActorBase.) |
![]() |
PreRestart | (Inherited from ActorBase.) |
![]() |
PreStart | (Inherited from ActorBase.) |
![]() |
SetReceiveTimeout | (Inherited from ActorBase.) |
![]() |
SetStateTimeout |
Set the state timeout explicitly. This method can be safely used from
within a state handler.
|
![]() |
SetTimer |
Schedule named timer to delvier message after given delay, possibly repeating.
Any existing timer with the same name will automatically be canceled before adding
the new timer.
|
![]() |
StartWith |
Sets the initial state for this FSM. Call this method from the constructor before the Initialize()()()() method.
If different state is needed after a restart this method, followed by Initialize()()()(), can be used in the actor
life cycle hooks [ActorBase.PreStart()] and PostRestart(Exception).
|
![]() |
Stay |
Produce "empty" transition descriptor. Return this from a state function
when no state change is to be effected.
|
![]() |
Stop()()()() |
Produce change descriptor to stop this FSM actor with FSMBase..::..ReasonFSMBase..::..Normal
|
![]() |
Stop(FSMBase..::..Reason) |
Produce change descriptor to stop this FSM actor with the specified FSMBase..::..Reason.
|
![]() |
Stop(FSMBase..::..Reason, TD) | |
![]() |
SupervisorStrategy | (Inherited from ActorBase.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Transform | |
![]() |
Unbecome | (Inherited from ActorBase.) |
![]() |
Unhandled | (Inherited from ActorBase.) |
![]() |
When |
Insert a new FSM<(Of <(<'TS, TD>)>)>..::..StateFunction at the end of the processing chain for the
given state. If the stateTimeout parameter is set, entering this state without a
differing explicit timeout setting will trigger a FSMBase..::..StateTimeout.
|
![]() |
WhenUnhandled |
Set handler which i called upon reception of unhandled FSM messages. Calling
this method again will overwrite the previous contents.
|
Properties
Name | Description | |
---|---|---|
![]() |
Listeners | |
![]() |
Log | |
![]() |
NextStateData |
Return next state data (available in OnTransition(FSM<(Of <(<'TS, TD>)>)>..::..TransitionHandler) handlers)
|
![]() |
Self | (Inherited from ActorBase.) |
![]() |
Sender | (Inherited from ActorBase.) |
![]() |
StateData |
Current state data
|
![]() |
StateName |
Current state name
|