Click or drag to resize
Akka.NETTestFSMRefTActor, TState, TData Class
Inheritance Hierarchy
SystemObject
  Akka.TestKitTestActorRefBaseTActor
    Akka.TestKitTestFSMRefTActor, TState, TData

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class TestFSMRef<TActor, TState, TData> : TestActorRefBase<TActor>
where TActor : FSM<TState, TData>

Type Parameters

TActor
The type of the actor.
TState
The type of the state.
TData
The type of the data.

The TestFSMRefTActor, TState, TData type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodCancelTimer
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from TestActorRefBaseTActor.)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from TestActorRefBaseTActor.)
Public methodEquals(IActorRef) (Inherited from TestActorRefBaseTActor.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForward
Forwards a message to this actor. If this call is made from within an actor, the current actor will be the sender. If the call is made from a test class that is based on TestKit, TestActor will will be the sender;
(Inherited from TestActorRefBaseTActor.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from TestActorRefBaseTActor.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsStateTimerActive
Determines whether the FSM has a active state timer active.
Public methodIsTimerActive
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReceive
Directly inject messages into actor receive behavior. Any exceptions thrown will be available to you, while still being able to use become/unbecome.
(Inherited from TestActorRefBaseTActor.)
Public methodSendSystemMessage(ISystemMessage)
TBD
(Inherited from TestActorRefBaseTActor.)
Public methodSendSystemMessage(ISystemMessage, IActorRef)
TBD
(Inherited from TestActorRefBaseTActor.)
Public methodSetState(TState, NullableTimeSpan)
Change FSM state; but keeps the current state data. This method is directly equivalent to a transition initiated from within the FSM.
Public methodSetState(TState, TData, NullableTimeSpan, FSMBaseReason)
Change FSM state. This method is directly equivalent to a corresponding transition initiated from within the FSM, including timeout and stop handling.
Public methodSetStateData
Change FSM state data; but do not transition to a new state name. This method is directly equivalent to a transition initiated from within the FSM.
Public methodSetStateTimeout
Change FSM state timeout. This method is directly equivalent to a transition initiated from within the FSM using the current state name and data but with the specified timeout.
Public methodSetTimer
Public methodTell(Object)
Sends a message to this actor. If this call is made from within an actor, the current actor will be the sender. If the call is made from a test class that is based on TestKit, TestActor will will be the sender; otherwise NoSender will be set as sender.
(Inherited from TestActorRefBaseTActor.)
Public methodTell(Object, IActorRef)
Sends a message to this actor with the specified sender.
(Inherited from TestActorRefBaseTActor.)
Public methodToString
Returns a string that represents the current object.
(Inherited from TestActorRefBaseTActor.)
Public methodUnwatch
Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not get a Terminated()-message when the provided actor is permanently terminated. Returns the same ActorRef that is provided to it, to allow for cleaner invocations.
(Inherited from TestActorRefBaseTActor.)
Public methodWatch
Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated. Returns the same ActorRef that is provided to it, to allow for cleaner invocations.
(Inherited from TestActorRefBaseTActor.)
Top
Extension Methods
See Also