Search Results for

    Show / Hide Table of Contents

    Class RoutingLogic

    This class contains logic used by a Router to route messages to one or more actors. These actors are known in the system as a Routee.

    Inheritance
    object
    RoutingLogic
    AdaptiveLoadBalancingRoutingLogic
    BroadcastRoutingLogic
    ConsistentHashingRoutingLogic
    RandomLogic
    RoundRobinRoutingLogic
    ScatterGatherFirstCompletedRoutingLogic
    SmallestMailboxRoutingLogic
    TailChopping
    Implements
    INoSerializationVerificationNeeded
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Routing
    Assembly: Akka.dll
    Syntax
    public abstract class RoutingLogic : INoSerializationVerificationNeeded

    Methods

    | Edit this page View Source

    Select(object, Routee[])

    Picks a Routee to receive the message.

    note

    Normally it picks one of the passed routees, but it is up to the implementation to return whatever Routee to use for sending a specific message.

    Declaration
    public abstract Routee Select(object message, Routee[] routees)
    Parameters
    Type Name Description
    object message

    The message that is being routed

    Routee[] routees

    A collection of routees to choose from when receiving the message.

    Returns
    Type Description
    Routee

    A Routee that receives the message.

    Implements

    INoSerializationVerificationNeeded

    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