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
RoutingLogic
Implements
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public abstract class RoutingLogic : INoSerializationVerificationNeeded
Methods
| Improve this Doc View SourceSelect(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 |
Returns
Type | Description |
---|---|
Routee | A Routee that receives the |