Search Results for

    Show / Hide Table of Contents

    Class ActorRefRoutee

    A Routee that resolves to an IActorRef

    Inheritance
    object
    Routee
    ActorRefRoutee
    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 ActorRefRoutee : Routee

    Constructors

    | Edit this page View Source

    ActorRefRoutee(IActorRef)

    Declaration
    public ActorRefRoutee(IActorRef actor)
    Parameters
    Type Name Description
    IActorRef actor

    Properties

    | Edit this page View Source

    Actor

    The IActorRef this routee sends messages to.

    Declaration
    public IActorRef Actor { get; }
    Property Value
    Type Description
    IActorRef

    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(ActorRefRoutee)

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