C# Class Akka.Actor.LocalActorRefProvider

Class LocalActorRefProvider. This class cannot be inherited.
Inheritance: Akka.Actor.ActorRefProvider
Afficher le fichier Open project: rogeralsing/akka.net

Private Properties

Свойство Type Description
CreateRootGuardian RootGuardianActorRef
CreateRootGuardianChild LocalActorRef
CreateSystemGuardian LocalActorRef
CreateUserGuardian LocalActorRef
GetNextTempName string
ResolveActorRef IInternalActorRef

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ActorOf() public méthode

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
Résultat IInternalActorRef

GetExternalAddressFor() public méthode

public GetExternalAddressFor ( Akka.Actor.Address address ) : Akka.Actor.Address
address Akka.Actor.Address
Résultat Akka.Actor.Address

Init() public méthode

public Init ( ActorSystemImpl system ) : void
system ActorSystemImpl
Résultat void

LocalActorRefProvider() public méthode

public LocalActorRefProvider ( string systemName, Settings settings, EventStream eventStream ) : System
systemName string
settings Settings
eventStream EventStream
Résultat System

LocalActorRefProvider() public méthode

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
Résultat System

RegisterExtraName() public méthode

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
Résultat void

RegisterTempActor() public méthode

public RegisterTempActor ( IInternalActorRef actorRef, ActorPath path ) : void
actorRef IInternalActorRef
path ActorPath
Résultat void

ResolveActorRef() public méthode

Resolves the actor reference.
The provided actor path is not valid in the LocalActorRefProvider
public ResolveActorRef ( ActorPath path ) : IActorRef
path ActorPath The actor path.
Résultat IActorRef

ResolveActorRef() public méthode

public ResolveActorRef ( string path ) : IActorRef
path string
Résultat IActorRef

RootGuardianAt() public méthode

public RootGuardianAt ( Akka.Actor.Address address ) : IActorRef
address Akka.Actor.Address
Résultat IActorRef

TempPath() public méthode

public TempPath ( ) : ActorPath
Résultat ActorPath

UnregisterTempActor() public méthode

public UnregisterTempActor ( ActorPath path ) : void
path ActorPath
Résultat void