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

Class LocalActorRefProvider. This class cannot be inherited.
Наследование: Akka.Actor.ActorRefProvider
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateRootGuardian RootGuardianActorRef
CreateRootGuardianChild LocalActorRef
CreateSystemGuardian LocalActorRef
CreateUserGuardian LocalActorRef
GetNextTempName string
ResolveActorRef IInternalActorRef

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

Метод Описание
ActorOf ( ActorSystemImpl system, Props props, IInternalActorRef supervisor, ActorPath path, bool systemService, Akka.Actor.Deploy deploy, bool lookupDeploy, bool async ) : IInternalActorRef
GetExternalAddressFor ( Akka.Actor.Address address ) : Akka.Actor.Address
Init ( ActorSystemImpl system ) : void
LocalActorRefProvider ( string systemName, Settings settings, EventStream eventStream ) : System
LocalActorRefProvider ( string systemName, Settings settings, EventStream eventStream, Deployer deployer, IInternalActorRef>.Func deadLettersFactory ) : System
RegisterExtraName ( string name, IInternalActorRef actor ) : void

Higher-level providers (or extensions) might want to register new synthetic top-level paths for doing special stuff. This is the way to do just that. Just be careful to complete all this before ActorSystem.Start finishes, or before you start your own auto-spawned actors.

RegisterTempActor ( IInternalActorRef actorRef, ActorPath path ) : void
ResolveActorRef ( ActorPath path ) : IActorRef

Resolves the actor reference.

ResolveActorRef ( string path ) : IActorRef
RootGuardianAt ( Akka.Actor.Address address ) : IActorRef
TempPath ( ) : ActorPath
UnregisterTempActor ( ActorPath path ) : void

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

Метод Описание
CreateRootGuardian ( ActorSystemImpl system ) : RootGuardianActorRef
CreateRootGuardianChild ( LocalActorRef rootGuardian, string name, Func childCreator ) : LocalActorRef
CreateSystemGuardian ( LocalActorRef rootGuardian, string name, LocalActorRef userGuardian ) : LocalActorRef
CreateUserGuardian ( LocalActorRef rootGuardian, string name ) : LocalActorRef
GetNextTempName ( ) : string
ResolveActorRef ( IInternalActorRef actorRef, IReadOnlyCollection pathElements ) : IInternalActorRef

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

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

public ActorOf ( ActorSystemImpl system, Props props, IInternalActorRef supervisor, ActorPath path, bool systemService, Akka.Actor.Deploy deploy, bool lookupDeploy, bool async ) : IInternalActorRef
system ActorSystemImpl
props Props
supervisor IInternalActorRef
path ActorPath
systemService bool
deploy Akka.Actor.Deploy
lookupDeploy bool
async bool
Результат IInternalActorRef

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

public GetExternalAddressFor ( Akka.Actor.Address address ) : Akka.Actor.Address
address Akka.Actor.Address
Результат Akka.Actor.Address

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

public Init ( ActorSystemImpl system ) : void
system ActorSystemImpl
Результат void

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

public LocalActorRefProvider ( string systemName, Settings settings, EventStream eventStream ) : System
systemName string
settings Settings
eventStream EventStream
Результат System

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

public LocalActorRefProvider ( string systemName, Settings settings, EventStream eventStream, Deployer deployer, IInternalActorRef>.Func deadLettersFactory ) : System
systemName string
settings Settings
eventStream EventStream
deployer Deployer
deadLettersFactory IInternalActorRef>.Func
Результат System

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

Higher-level providers (or extensions) might want to register new synthetic top-level paths for doing special stuff. This is the way to do just that. Just be careful to complete all this before ActorSystem.Start finishes, or before you start your own auto-spawned actors.
public RegisterExtraName ( string name, IInternalActorRef actor ) : void
name string
actor IInternalActorRef
Результат void

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

public RegisterTempActor ( IInternalActorRef actorRef, ActorPath path ) : void
actorRef IInternalActorRef
path ActorPath
Результат void

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

Resolves the actor reference.
The provided actor path is not valid in the LocalActorRefProvider
public ResolveActorRef ( ActorPath path ) : IActorRef
path ActorPath The actor path.
Результат IActorRef

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

public ResolveActorRef ( string path ) : IActorRef
path string
Результат IActorRef

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

public RootGuardianAt ( Akka.Actor.Address address ) : IActorRef
address Akka.Actor.Address
Результат IActorRef

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

public TempPath ( ) : ActorPath
Результат ActorPath

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

public UnregisterTempActor ( ActorPath path ) : void
path ActorPath
Результат void