C# Class Akka.Actor.RepointableActorRef

Inheritance: Akka.Actor.ActorRefWithCell, IRepointableRef
Mostra file Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
NewCell ( ) : ActorCell
TellInternal ( object message, IActorRef sender ) : void

Private Methods

Method Description
SwapLookup ( ICell cell ) : void

Method Details

GetChild() public method

public GetChild ( IEnumerable name ) : IActorRef
name IEnumerable
return IActorRef

GetSingleChild() public method

public GetSingleChild ( string name ) : IInternalActorRef
name string
return IInternalActorRef

Initialize() public method

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
return RepointableActorRef

NewCell() protected method

protected NewCell ( ) : ActorCell
return ActorCell

Point() public method

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
return void

RepointableActorRef() public method

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
return System

Restart() public method

public Restart ( Exception cause ) : void
cause System.Exception
return void

Resume() public method

public Resume ( Exception causedByFailure = null ) : void
causedByFailure System.Exception
return void

SendSystemMessage() public method

public SendSystemMessage ( ISystemMessage message ) : void
message ISystemMessage
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Suspend() public method

public Suspend ( ) : void
return void

SwapUnderlying() public method

public SwapUnderlying ( ICell cell ) : void
cell ICell
return void

TellInternal() protected method

protected TellInternal ( object message, IActorRef sender ) : void
message object
sender IActorRef
return void