C# Класс Akka.Actor.RepointableActorRef

Наследование: Akka.Actor.ActorRefWithCell, IRepointableRef
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
NewCell ( ) : ActorCell
TellInternal ( object message, IActorRef sender ) : void

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

Метод Описание
SwapLookup ( ICell cell ) : void

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

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

public GetChild ( IEnumerable name ) : IActorRef
name IEnumerable
Результат IActorRef

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

public GetSingleChild ( string name ) : IInternalActorRef
name string
Результат IInternalActorRef

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

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
Результат RepointableActorRef

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

protected NewCell ( ) : ActorCell
Результат ActorCell

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

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
Результат void

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

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
Результат System

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

public Restart ( Exception cause ) : void
cause System.Exception
Результат void

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

public Resume ( Exception causedByFailure = null ) : void
causedByFailure System.Exception
Результат void

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

public SendSystemMessage ( ISystemMessage message ) : void
message ISystemMessage
Результат void

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

public Start ( ) : void
Результат void

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

public Stop ( ) : void
Результат void

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

public Suspend ( ) : void
Результат void

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

public SwapUnderlying ( ICell cell ) : void
cell ICell
Результат void

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

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