Search Results for

    Show / Hide Table of Contents

    Class ActorIdentity

    Response to the Identify message, get identity by Sender

    Inheritance
    object
    ActorIdentity
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public sealed class ActorIdentity

    Constructors

    | Edit this page View Source

    ActorIdentity(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 Source

    MessageId

    The same correlating ID used in the original Identify message.

    Declaration
    public object MessageId { get; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    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 Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET