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).
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public class NoRouter : RouterConfig, ISurrogated, IEquatable<RouterConfig>
Constructors
| Edit this page View SourceNoRouter()
TBD
Declaration
protected NoRouter()
Properties
| Edit this page View SourceInstance
TBD
Declaration
public static NoRouter Instance { get; }
Property Value
| Type | Description |
|---|---|
| NoRouter |
RouterDispatcher
N/A
Declaration
public override string RouterDispatcher { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | This exception is automatically thrown since NoRouter does not have a dispatcher. |
Methods
| Edit this page View SourceCreateRouter(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
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | This exception is automatically thrown since NoRouter cannot create routers. |
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. |
Props(Props)
TBD
Declaration
public Props Props(Props routeeProps)
Parameters
| Type | Name | Description |
|---|---|---|
| Props | routeeProps | TBD |
Returns
| Type | Description |
|---|---|
| Props | TBD |
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
| Edit this page View SourceWithFallback(RouterConfig)
TBD
Declaration
public override RouterConfig WithFallback(RouterConfig routerConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| RouterConfig | routerConfig | TBD |
Returns
| Type | Description |
|---|---|
| RouterConfig | TBD |
Edit this page