Search Results for

    Show / Hide Table of Contents

    Class NoRouter

    Routing configuration that indicates no routing; this is also the default value which hence overrides the merge strategy in order to accept values from lower-precedence sources. The decision whether or not to create a router is taken in the LocalActorRefProvider based on Props(Props).

    Inheritance
    object
    RouterConfig
    NoRouter
    Implements
    ISurrogated
    IEquatable<RouterConfig>
    Inherited Members
    RouterConfig.RoutingLogicController(RoutingLogic)
    RouterConfig.IsManagementMessage(object)
    RouterConfig.StopRouterWhenAllRouteesRemoved
    RouterConfig.VerifyConfig(ActorPath)
    RouterConfig.Equals(RouterConfig)
    RouterConfig.Equals(object)
    RouterConfig.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Routing
    Assembly: Akka.dll
    Syntax
    public class NoRouter : RouterConfig, ISurrogated, IEquatable<RouterConfig>

    Constructors

    | Edit this page View Source

    NoRouter()

    TBD

    Declaration
    protected NoRouter()

    Properties

    | Edit this page View Source

    Instance

    TBD

    Declaration
    public static NoRouter Instance { get; }
    Property Value
    Type Description
    NoRouter
    | Edit this page View Source

    RouterDispatcher

    N/A

    Declaration
    public override string RouterDispatcher { get; }
    Property Value
    Type Description
    string
    Overrides
    RouterConfig.RouterDispatcher
    Exceptions
    Type Condition
    NotSupportedException

    This exception is automatically thrown since NoRouter does not have a dispatcher.

    Methods

    | Edit this page View Source

    CreateRouter(ActorSystem)

    N/A

    Declaration
    public override Router CreateRouter(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    N/A

    Returns
    Type Description
    Router

    N/A

    Overrides
    RouterConfig.CreateRouter(ActorSystem)
    Exceptions
    Type Condition
    NotSupportedException

    This exception is automatically thrown since NoRouter cannot create routers.

    | Edit this page View Source

    CreateRouterActor()

    N/A

    Declaration
    public override ActorBase CreateRouterActor()
    Returns
    Type Description
    ActorBase

    N/A

    Overrides
    Akka.Routing.RouterConfig.CreateRouterActor()
    Exceptions
    Type Condition
    NotSupportedException

    This exception is automatically thrown since NoRouter cannot create router actors.

    | Edit this page View Source

    Props(Props)

    TBD

    Declaration
    public Props Props(Props routeeProps)
    Parameters
    Type Name Description
    Props routeeProps

    TBD

    Returns
    Type Description
    Props

    TBD

    | Edit this page View Source

    ToSurrogate(ActorSystem)

    Creates a surrogate representation of the current NoRouter.

    Declaration
    public override ISurrogate ToSurrogate(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The actor system that owns this router.

    Returns
    Type Description
    ISurrogate

    The surrogate representation of the current NoRouter.

    Overrides
    RouterConfig.ToSurrogate(ActorSystem)
    | Edit this page View Source

    WithFallback(RouterConfig)

    TBD

    Declaration
    public override RouterConfig WithFallback(RouterConfig routerConfig)
    Parameters
    Type Name Description
    RouterConfig routerConfig

    TBD

    Returns
    Type Description
    RouterConfig

    TBD

    Overrides
    RouterConfig.WithFallback(RouterConfig)

    Implements

    ISurrogated
    IEquatable<T>

    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