C# Класс Akka.Routing.Router

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Send ( Routee routee, object message, IActorRef sender ) : void

Приватные методы

Метод Описание
UnWrap ( object message ) : object

Описание методов

AddRoutee() публичный Метод

Create a new instance with one more routee and the same RoutingLogic.
public AddRoutee ( ActorSelection routee ) : Router
routee Akka.Actor.ActorSelection
Результат Router

AddRoutee() публичный Метод

Create a new instance with one more routee and the same RoutingLogic.
public AddRoutee ( IActorRef routee ) : Router
routee IActorRef
Результат Router

AddRoutee() публичный Метод

Create a new instance with one more routee and the same RoutingLogic.
public AddRoutee ( Routee routee ) : Router
routee Routee
Результат Router

RemoveRoutee() публичный Метод

Create a new instance without the specified routee.
public RemoveRoutee ( ActorSelection routee ) : Router
routee Akka.Actor.ActorSelection
Результат Router

RemoveRoutee() публичный Метод

Create a new instance without the specified routee.
public RemoveRoutee ( IActorRef routee ) : Router
routee IActorRef
Результат Router

RemoveRoutee() публичный Метод

Create a new instance without the specified routee.
public RemoveRoutee ( Routee routee ) : Router
routee Routee
Результат Router

Route() публичный Метод

public Route ( object message, IActorRef sender ) : void
message object
sender IActorRef
Результат void

Router() публичный Метод

public Router ( RoutingLogic logic ) : System.Collections.Generic
logic RoutingLogic
Результат System.Collections.Generic

Router() публичный Метод

public Router ( RoutingLogic logic, IActorRef routee ) : System.Collections.Generic
logic RoutingLogic
routee IActorRef
Результат System.Collections.Generic

Send() защищенный Метод

protected Send ( Routee routee, object message, IActorRef sender ) : void
routee Routee
message object
sender IActorRef
Результат void

WithRoutees() публичный Метод

Create a new instance with the specified routees and the same RoutingLogic.
public WithRoutees ( ) : Router
Результат Router