Interface IActorRef
An actor reference. Acts as a handle to an actor. Used to send messages to an actor, whether an actor is local or remote. If you receive a reference to an actor, that actor is guaranteed to have existed at some point in the past. However, an actor can always be terminated in the future.
If you want to be notified about an actor terminating, call IActorContext.Watch on this actor and you'll receive a Terminated message when the actor dies or if it is already dead.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public interface IActorRef : ICanTell, IEquatable<IActorRef>, IComparable<IActorRef>, ISurrogated, IComparable
Remarks
Actor references can be serialized and passed over the network.
Properties
| Improve this Doc View SourcePath
The path of this actor. Can be used to extract information about whether or not this actor is local or remote.
Declaration
ActorPath Path { get; }
Property Value
Type | Description |
---|---|
ActorPath |