C# Class Akka.Actor.LocalActorRefProvider

Class LocalActorRefProvider. This class cannot be inherited.
Inheritance: Akka.Actor.ActorRefProvider
Mostra file Open project: rogeralsing/akka.net

Private Properties

Property Type Description
CreateRootGuardian RootGuardianActorRef
CreateRootGuardianChild LocalActorRef
CreateSystemGuardian LocalActorRef
CreateUserGuardian LocalActorRef
GetNextTempName string
ResolveActorRef IInternalActorRef

Public Methods

Method 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

Method 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 method

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

GetExternalAddressFor() public method

public GetExternalAddressFor ( Akka.Actor.Address address ) : Akka.Actor.Address
address Akka.Actor.Address
return Akka.Actor.Address

Init() public method

public Init ( ActorSystemImpl system ) : void
system ActorSystemImpl
return void

LocalActorRefProvider() public method

public LocalActorRefProvider ( string systemName, Settings settings, EventStream eventStream ) : System
systemName string
settings Settings
eventStream EventStream
return System

LocalActorRefProvider() public method

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

RegisterExtraName() public method

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

RegisterTempActor() public method

public RegisterTempActor ( IInternalActorRef actorRef, ActorPath path ) : void
actorRef IInternalActorRef
path ActorPath
return void

ResolveActorRef() public method

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

ResolveActorRef() public method

public ResolveActorRef ( string path ) : IActorRef
path string
return IActorRef

RootGuardianAt() public method

public RootGuardianAt ( Akka.Actor.Address address ) : IActorRef
address Akka.Actor.Address
return IActorRef

TempPath() public method

public TempPath ( ) : ActorPath
return ActorPath

UnregisterTempActor() public method

public UnregisterTempActor ( ActorPath path ) : void
path ActorPath
return void