Class ActorIdentity
Response to the Identify message, get identity by Sender
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public sealed class ActorIdentity
Constructors
| Edit this page View SourceActorIdentity(object, IActorRef)
Initializes a new instance of the ActorIdentity class.
Declaration
public ActorIdentity(object messageId, IActorRef subject)
Parameters
Type | Name | Description |
---|---|---|
object | messageId | The same correlating ID used in the original Identify message. |
IActorRef | subject | A reference to the underyling actor. |
Properties
| Edit this page View SourceMessageId
The same correlating ID used in the original Identify message.
Declaration
public object MessageId { get; }
Property Value
Type | Description |
---|---|
object |
Subject
A reference to the underyling actor.
Declaration
public IActorRef Subject { get; }
Property Value
Type | Description |
---|---|
IActorRef |
Remarks
Will be null
if sent an ActorSelection that could not be resolved.
Methods
| Edit this page View SourceEquals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |