C# Class Akka.Routing.RoutedActorCell

Inheritance: Akka.Actor.ActorCell
Datei anzeigen Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
Post ( IActorRef sender, object message ) : void
RoutedActorCell ( ActorSystemImpl system, IInternalActorRef self, Props routerProps, MessageDispatcher dispatcher, Props routeeProps, IInternalActorRef supervisor ) : System
Start ( ) : void

Protected Methods

Method Description
CreateNewActorInstance ( ) : ActorBase
PreSuperStart ( ) : void

Called when Router is initialized but before the base class' Start to be able to do extra initialization in a subclass.

Private Methods

Method Description
AddRoutee ( Routee routee ) : void
AddRoutees ( IList routees ) : void
RemoveRoutee ( Routee routee, bool stopChild ) : void
RemoveRoutees ( IList affectedRoutees, bool stopChild ) : void

Remove routees from Router. Messages in flight may still be routed to the old Router instance containing the old routees.

SendMessage ( IActorRef sender, object message ) : void
StopIfChild ( Routee routee ) : void

Used to stop child routees - typically used in resizable Pool routers

Unwatch ( Routee routee ) : void
Watch ( Routee routee ) : void

Method Details

CreateNewActorInstance() protected method

protected CreateNewActorInstance ( ) : ActorBase
return Akka.Actor.ActorBase

Post() public method

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

PreSuperStart() protected method

Called when Router is initialized but before the base class' Start to be able to do extra initialization in a subclass.
protected PreSuperStart ( ) : void
return void

RoutedActorCell() public method

public RoutedActorCell ( ActorSystemImpl system, IInternalActorRef self, Props routerProps, MessageDispatcher dispatcher, Props routeeProps, IInternalActorRef supervisor ) : System
system ActorSystemImpl
self IInternalActorRef
routerProps Props
dispatcher Akka.Dispatch.MessageDispatcher
routeeProps Props
supervisor IInternalActorRef
return System

Start() public method

public Start ( ) : void
return void