Search Results for

    Show / Hide Table of Contents

    Class ActorSelectionMessage

    Used to deliver messages via ActorSelection.

    Inheritance
    object
    ActorSelectionMessage
    Implements
    IAutoReceivedMessage
    IPossiblyHarmful
    IWrappedMessage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public class ActorSelectionMessage : IAutoReceivedMessage, IPossiblyHarmful, IWrappedMessage

    Constructors

    | Edit this page View Source

    ActorSelectionMessage(object, SelectionPathElement[], bool)

    Initializes a new instance of the ActorSelectionMessage class.

    Declaration
    public ActorSelectionMessage(object message, SelectionPathElement[] elements, bool wildCardFanOut = false)
    Parameters
    Type Name Description
    object message

    The message.

    SelectionPathElement[] elements

    The elements.

    bool wildCardFanOut

    Whether the selection is a result of a wildcard fan-out operation.

    Properties

    | Edit this page View Source

    Elements

    The elements, e.g. "foo/bar/baz".

    Declaration
    public SelectionPathElement[] Elements { get; }
    Property Value
    Type Description
    SelectionPathElement[]
    | Edit this page View Source

    Message

    The message that should be delivered to this ActorSelection.

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

    WildCardFanOut

    When true, indicates that this ActorSelection includes wildcards.

    Declaration
    public bool WildCardFanOut { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Copy(object, SelectionPathElement[], bool?)

    Creates a deep copy of the ActorSelectionMessage with the provided properties.

    Declaration
    public ActorSelectionMessage Copy(object message = null, SelectionPathElement[] elements = null, bool? wildCardFanOut = null)
    Parameters
    Type Name Description
    object message

    Optional. The new message to deliver.

    SelectionPathElement[] elements

    Optional. The new elements on the actor selection.

    bool? wildCardFanOut

    Optional. Indicates whether or not we're delivering a wildcard ActorSelection.

    Returns
    Type Description
    ActorSelectionMessage

    A new ActorSelectionMessage.

    | Edit this page View Source

    ToString()

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

    Implements

    IAutoReceivedMessage
    IPossiblyHarmful
    IWrappedMessage

    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