TestFSMRefTActor, TState, TData Class |
Namespace: Akka.TestKit
public class TestFSMRef<TActor, TState, TData> : TestActorRefBase<TActor> where TActor : FSM<TState, TData>
The TestFSMRefTActor, TState, TData type exposes the following members.
Name | Description | |
---|---|---|
TestFSMRefTActor, TState, TData |
TBD
|
Name | Description | |
---|---|---|
InternalRef |
TBD
(Inherited from TestActorRefBaseTActor.) | |
Path |
Gets the path of this instance
(Inherited from TestActorRefBaseTActor.) | |
Ref |
TBD
(Inherited from TestActorRefBaseTActor.) | |
StateData | Get current state data of this FSM. | |
StateName | Get current state name of this FSM. | |
UnderlyingActor |
TBD
(Inherited from TestActorRefBaseTActor.) |
Name | Description | |
---|---|---|
CancelTimer |
Proxy for CancelTimer(String) | |
CompareTo | 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.) | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from TestActorRefBaseTActor.) | |
Equals(IActorRef) | (Inherited from TestActorRefBaseTActor.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Forward |
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from TestActorRefBaseTActor.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsStateTimerActive |
Determines whether the FSM has a active state timer active.
| |
IsTimerActive |
Proxy for IsTimerActive(String) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Receive |
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.) | |
SendSystemMessage(ISystemMessage) |
TBD
(Inherited from TestActorRefBaseTActor.) | |
SendSystemMessage(ISystemMessage, IActorRef) |
TBD
(Inherited from TestActorRefBaseTActor.) | |
SetState(TState, NullableTimeSpan) |
Change FSM state; but keeps the current state data.
This method is directly equivalent to a transition initiated from within the FSM.
| |
SetState(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.
| |
SetStateData |
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.
| |
SetStateTimeout |
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.
| |
SetTimer | ||
Tell(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.) | |
Tell(Object, IActorRef) |
Sends a message to this actor with the specified sender.
(Inherited from TestActorRefBaseTActor.) | |
ToString | Returns a string that represents the current object. (Inherited from TestActorRefBaseTActor.) | |
Unwatch |
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.) | |
Watch |
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.) |
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |