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
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |