C# Class Akka.Actor.RepointableActorRef

Inheritance: Akka.Actor.ActorRefWithCell, IRepointableRef
Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Méthodes publiques

Méthode Description
GetChild ( IEnumerable name ) : IActorRef
GetSingleChild ( string name ) : IInternalActorRef
Initialize ( bool async ) : RepointableActorRef

Initialize: make a dummy cell which holds just a mailbox, then tell our supervisor that we exist so that he can create the real Cell in handleSupervise(). Call twice on your own peril! This is protected so that others can have different initialization.

Point ( ) : void

This method is supposed to be called by the supervisor in HandleSupervise() to replace the UnstartedCell with the real one. It assumes no concurrent modification of the `underlying` field, though it is safe to send messages at any time.

RepointableActorRef ( ActorSystemImpl system, Props props, MessageDispatcher dispatcher, Func createMailbox, IInternalActorRef supervisor, ActorPath path ) : System
Restart ( Exception cause ) : void
Resume ( Exception causedByFailure = null ) : void
SendSystemMessage ( ISystemMessage message ) : void
Start ( ) : void
Stop ( ) : void
Suspend ( ) : void
SwapUnderlying ( ICell cell ) : void

Méthodes protégées

Méthode Description
NewCell ( ) : ActorCell
TellInternal ( object message, IActorRef sender ) : void

Private Methods

Méthode Description
SwapLookup ( ICell cell ) : void

Method Details

GetChild() public méthode

public GetChild ( IEnumerable name ) : IActorRef
name IEnumerable
Résultat IActorRef

GetSingleChild() public méthode

public GetSingleChild ( string name ) : IInternalActorRef
name string
Résultat IInternalActorRef

Initialize() public méthode

Initialize: make a dummy cell which holds just a mailbox, then tell our supervisor that we exist so that he can create the real Cell in handleSupervise(). Call twice on your own peril! This is protected so that others can have different initialization.
public Initialize ( bool async ) : RepointableActorRef
async bool
Résultat RepointableActorRef

NewCell() protected méthode

protected NewCell ( ) : ActorCell
Résultat ActorCell

Point() public méthode

This method is supposed to be called by the supervisor in HandleSupervise() to replace the UnstartedCell with the real one. It assumes no concurrent modification of the `underlying` field, though it is safe to send messages at any time.
public Point ( ) : void
Résultat void

RepointableActorRef() public méthode

public RepointableActorRef ( ActorSystemImpl system, Props props, MessageDispatcher dispatcher, Func createMailbox, IInternalActorRef supervisor, ActorPath path ) : System
system ActorSystemImpl
props Props
dispatcher Akka.Dispatch.MessageDispatcher
createMailbox Func
supervisor IInternalActorRef
path ActorPath
Résultat System

Restart() public méthode

public Restart ( Exception cause ) : void
cause System.Exception
Résultat void

Resume() public méthode

public Resume ( Exception causedByFailure = null ) : void
causedByFailure System.Exception
Résultat void

SendSystemMessage() public méthode

public SendSystemMessage ( ISystemMessage message ) : void
message ISystemMessage
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Suspend() public méthode

public Suspend ( ) : void
Résultat void

SwapUnderlying() public méthode

public SwapUnderlying ( ICell cell ) : void
cell ICell
Résultat void

TellInternal() protected méthode

protected TellInternal ( object message, IActorRef sender ) : void
message object
sender IActorRef
Résultat void