C# Class Akka.Routing.Router

Mostrar archivo Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
AddRoutee ( ActorSelection routee ) : Router

Create a new instance with one more routee and the same RoutingLogic.

AddRoutee ( IActorRef routee ) : Router

Create a new instance with one more routee and the same RoutingLogic.

AddRoutee ( Routee routee ) : Router

Create a new instance with one more routee and the same RoutingLogic.

RemoveRoutee ( ActorSelection routee ) : Router

Create a new instance without the specified routee.

RemoveRoutee ( IActorRef routee ) : Router

Create a new instance without the specified routee.

RemoveRoutee ( Routee routee ) : Router

Create a new instance without the specified routee.

Route ( object message, IActorRef sender ) : void
Router ( RoutingLogic logic ) : System.Collections.Generic
Router ( RoutingLogic logic, IActorRef routee ) : System.Collections.Generic
WithRoutees ( ) : Router

Create a new instance with the specified routees and the same RoutingLogic.

Protected Methods

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

Private Methods

Method Description
UnWrap ( object message ) : object

Method Details

AddRoutee() public method

Create a new instance with one more routee and the same RoutingLogic.
public AddRoutee ( ActorSelection routee ) : Router
routee Akka.Actor.ActorSelection
return Router

AddRoutee() public method

Create a new instance with one more routee and the same RoutingLogic.
public AddRoutee ( IActorRef routee ) : Router
routee IActorRef
return Router

AddRoutee() public method

Create a new instance with one more routee and the same RoutingLogic.
public AddRoutee ( Routee routee ) : Router
routee Routee
return Router

RemoveRoutee() public method

Create a new instance without the specified routee.
public RemoveRoutee ( ActorSelection routee ) : Router
routee Akka.Actor.ActorSelection
return Router

RemoveRoutee() public method

Create a new instance without the specified routee.
public RemoveRoutee ( IActorRef routee ) : Router
routee IActorRef
return Router

RemoveRoutee() public method

Create a new instance without the specified routee.
public RemoveRoutee ( Routee routee ) : Router
routee Routee
return Router

Route() public method

public Route ( object message, IActorRef sender ) : void
message object
sender IActorRef
return void

Router() public method

public Router ( RoutingLogic logic ) : System.Collections.Generic
logic RoutingLogic
return System.Collections.Generic

Router() public method

public Router ( RoutingLogic logic, IActorRef routee ) : System.Collections.Generic
logic RoutingLogic
routee IActorRef
return System.Collections.Generic

Send() protected method

protected Send ( Routee routee, object message, IActorRef sender ) : void
routee Routee
message object
sender IActorRef
return void

WithRoutees() public method

Create a new instance with the specified routees and the same RoutingLogic.
public WithRoutees ( ) : Router
return Router