C# Class Akka.Routing.SmallestMailboxRoutingLogic

Inheritance: RoutingLogic
显示文件 Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
Select ( object message, Routee routees ) : Routee

Picks a Routee to receive the message.

SmallestMailboxRoutingLogic ( ) : System.Threading

Initializes a new instance of the SmallestMailboxRoutingLogic class.

SmallestMailboxRoutingLogic ( int next ) : System.Threading

Initializes a new instance of the SmallestMailboxRoutingLogic class.

Private Methods

Method Description
SelectNext ( Routee routees ) : Routee
TryGetActorCell ( Routee routee ) : ICell

Method Details

Select() public method

Picks a Routee to receive the message.
public Select ( object message, Routee routees ) : Routee
message object The message that is being routed
routees Routee A collection of routees to choose from when receiving the .
return Routee

SmallestMailboxRoutingLogic() public method

Initializes a new instance of the SmallestMailboxRoutingLogic class.
public SmallestMailboxRoutingLogic ( ) : System.Threading
return System.Threading

SmallestMailboxRoutingLogic() public method

Initializes a new instance of the SmallestMailboxRoutingLogic class.
public SmallestMailboxRoutingLogic ( int next ) : System.Threading
next int Seed value used in the fallback selection process.
return System.Threading