TestActorRefBaseTActor Class |
Namespace: Akka.TestKit
public abstract class TestActorRefBase<TActor> : ICanTell, IEquatable<IActorRef>, IInternalActorRef, IActorRef, IComparable<IActorRef>, ISurrogated, IComparable, IActorRefScope where TActor : ActorBase
The TestActorRefBaseTActor type exposes the following members.
Name | Description | |
---|---|---|
TestActorRefBaseTActor |
TBD
|
Name | Description | |
---|---|---|
InternalRef |
TBD
| |
Path |
Gets the path of this instance
| |
Ref |
TBD
| |
UnderlyingActor |
TBD
|
Name | Description | |
---|---|---|
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. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
Equals(IActorRef) | ||
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;
| |
GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.
| |
SendSystemMessage(ISystemMessage) |
TBD
| |
SendSystemMessage(ISystemMessage, IActorRef) |
TBD
| |
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.
| |
Tell(Object, IActorRef) |
Sends a message to this actor with the specified sender.
| |
ToActorRef |
TBD
| |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) | |
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.
| |
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.
|
Name | Description | |
---|---|---|
Equality(IActorRef, TestActorRefBaseTActor) |
Compares a specified IActorRef to an TestActorRefBaseTActor for equality.
| |
Equality(TestActorRefBaseTActor, IActorRef) |
Compares a specified TestActorRefBaseTActor to an IActorRef for equality.
| |
Inequality(IActorRef, TestActorRefBaseTActor) |
Compares a specified IActorRef to an TestActorRefBaseTActor for inequality.
| |
Inequality(TestActorRefBaseTActor, IActorRef) |
Compares a specified TestActorRefBaseTActor to an IActorRef for inequality.
|
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Ask(Object, NullableTimeSpan) | Overloaded.
TBD
(Defined by Futures.) | |
Ask(Object, CancellationToken) | Overloaded.
TBD
(Defined by Futures.) | |
Ask(Object, NullableTimeSpan, CancellationToken) | Overloaded.
TBD
(Defined by Futures.) | |
AskT(Object, NullableTimeSpan) | Overloaded.
TBD
(Defined by Futures.) | |
AskT(Object, CancellationToken) | Overloaded.
TBD
(Defined by Futures.) | |
AskT(Object, NullableTimeSpan, CancellationToken) | Overloaded.
TBD
(Defined by Futures.) | |
Forward |
Forwards the message using the current Sender
(Defined by ActorRefImplicitSenderExtensions.) | |
GracefulStop(TimeSpan) | Overloaded.
TBD
(Defined by GracefulStopSupport.) | |
GracefulStop(TimeSpan, Object) | Overloaded.
TBD
(Defined by GracefulStopSupport.) | |
IsNobody |
If we call a method such as (Defined by ActorRefExtensions.)Context.Child(name) | |
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.) | |
Tell |
Asynchronously tells a message to an IActorRef.
(Defined by ActorRefImplicitSenderExtensions.) |