Search Results for

    Show / Hide Table of Contents

    Class ActorSelectionRoutee

    A Routee that resolves to an ActorSelection

    Inheritance
    object
    Routee
    ActorSelectionRoutee
    Inherited Members
    Routee.NoRoutee
    Routee.FromActorRef(IActorRef)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Routing
    Assembly: Akka.dll
    Syntax
    public class ActorSelectionRoutee : Routee

    Constructors

    | Edit this page View Source

    ActorSelectionRoutee(ActorSelection)

    Declaration
    public ActorSelectionRoutee(ActorSelection actor)
    Parameters
    Type Name Description
    ActorSelection actor

    Properties

    | Edit this page View Source

    Selection

    The ActorSelection this routee sends to.

    Declaration
    public ActorSelection Selection { get; }
    Property Value
    Type Description
    ActorSelection

    Methods

    | Edit this page View Source

    Ask(object, TimeSpan?)

    Ask a routee for a reply message in response to an input.

    Declaration
    public override Task<object> Ask(object message, TimeSpan? timeout)
    Parameters
    Type Name Description
    object message

    The message to send.

    TimeSpan? timeout

    Optional timeout parameter. If the parameter is provided and the operation times out, will throw an AskTimeoutException.

    Returns
    Type Description
    Task<object>

    A Task containing the response object.

    Overrides
    Routee.Ask(object, TimeSpan?)
    | Edit this page View Source

    Equals(ActorSelectionRoutee)

    Declaration
    protected bool Equals(ActorSelectionRoutee other)
    Parameters
    Type Name Description
    ActorSelectionRoutee other
    Returns
    Type Description
    bool
    | 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

    Send(object, IActorRef)

    Send a message to the routee.

    Declaration
    public override void Send(object message, IActorRef sender)
    Parameters
    Type Name Description
    object message

    The message to send.

    IActorRef sender

    The sender, if any.

    Overrides
    Routee.Send(object, IActorRef)

    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