C# Class Akka.Routing.TailChoppingRoutee

A single point routee that routes to randomly chosen routees at a given interval. Accepts the first response.
Inheritance: Routee
Datei anzeigen Open project: rogeralsing/akka.net

Public Methods

Method Description
Send ( object message, IActorRef sender ) : void

Sends a message to the collection of routees.

TailChoppingRoutee ( Routee routees, System.TimeSpan within, System.TimeSpan interval, IScheduler scheduler ) : System

Initializes a new instance of the TailChoppingRoutee class.

Method Details

Send() public method

Sends a message to the collection of routees.
public Send ( object message, IActorRef sender ) : void
message object The message that is being sent.
sender IActorRef The actor sending the message.
return void

TailChoppingRoutee() public method

Initializes a new instance of the TailChoppingRoutee class.
public TailChoppingRoutee ( Routee routees, System.TimeSpan within, System.TimeSpan interval, IScheduler scheduler ) : System
routees Routee The list of routees that the router uses to send messages.
within System.TimeSpan The time within which at least one response is expected.
interval System.TimeSpan The duration after which the next routee will be picked.
scheduler IScheduler The used to force deadlines.
return System