Class LocalActorRefProvider
Class LocalActorRefProvider. This class cannot be inherited.
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public sealed class LocalActorRefProvider : IActorRefProvider
Constructors
| Improve this Doc View SourceLocalActorRefProvider(String, Settings, EventStream)
TBD
Declaration
public LocalActorRefProvider(string systemName, Settings settings, EventStream eventStream)
Parameters
Type | Name | Description |
---|---|---|
String | systemName | TBD |
Settings | settings | TBD |
EventStream | eventStream | TBD |
LocalActorRefProvider(String, Settings, EventStream, Deployer, Func<ActorPath, IInternalActorRef>)
TBD
Declaration
public LocalActorRefProvider(string systemName, Settings settings, EventStream eventStream, Deployer deployer, Func<ActorPath, IInternalActorRef> deadLettersFactory)
Parameters
Type | Name | Description |
---|---|---|
String | systemName | TBD |
Settings | settings | TBD |
EventStream | eventStream | TBD |
Deployer | deployer | TBD |
Func<ActorPath, Akka.Actor.IInternalActorRef> | deadLettersFactory | TBD |
Properties
| Improve this Doc View SourceDeadLetters
TBD
Declaration
public IActorRef DeadLetters { get; }
Property Value
Type | Description |
---|---|
IActorRef |
DefaultAddress
The default address of the current ActorSystem.
Declaration
public Address DefaultAddress { get; }
Property Value
Type | Description |
---|---|
Address |
Deployer
TBD
Declaration
public Deployer Deployer { get; }
Property Value
Type | Description |
---|---|
Deployer |
EventStream
TBD
Declaration
public EventStream EventStream { get; }
Property Value
Type | Description |
---|---|
EventStream |
Guardian
TBD
Declaration
public LocalActorRef Guardian { get; }
Property Value
Type | Description |
---|---|
LocalActorRef |
IgnoreRef
Declaration
public IActorRef IgnoreRef { get; }
Property Value
Type | Description |
---|---|
IActorRef |
Log
The built-in logger for the ActorRefProvider
Declaration
public ILoggingAdapter Log { get; }
Property Value
Type | Description |
---|---|
ILoggingAdapter |
RootGuardian
TBD
Declaration
public IInternalActorRef RootGuardian { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.IInternalActorRef |
RootPath
TBD
Declaration
public ActorPath RootPath { get; }
Property Value
Type | Description |
---|---|
ActorPath |
SerializationInformation
Declaration
public Information SerializationInformation { get; }
Property Value
Type | Description |
---|---|
Akka.Serialization.Information |
Settings
TBD
Declaration
public Settings Settings { get; }
Property Value
Type | Description |
---|---|
Settings |
SystemGuardian
TBD
Declaration
public LocalActorRef SystemGuardian { get; }
Property Value
Type | Description |
---|---|
LocalActorRef |
TempContainer
TBD
Declaration
public IInternalActorRef TempContainer { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.IInternalActorRef |
TerminationTask
TBD
Declaration
public Task TerminationTask { get; }
Property Value
Type | Description |
---|---|
Task |
Methods
| Improve this Doc View SourceActorOf(ActorSystemImpl, Props, IInternalActorRef, ActorPath, Boolean, Deploy, Boolean, Boolean)
Actor factory with create-only semantics: will create an actor as
described by props
with the given supervisor
and path
(may be different
in case of remote supervision). If systemService
is true, deployment is
bypassed (local-only). If a value fordeploy
is passed in, it should be
regarded as taking precedence over the nominally applicable settings,
but it should be overridable from external configuration; the lookup of
the latter can be suppressed by setting "lookupDeploy" to "false".
Declaration
public IInternalActorRef ActorOf(ActorSystemImpl system, Props props, IInternalActorRef supervisor, ActorPath path, bool systemService, Deploy deploy, bool lookupDeploy, bool async)
Parameters
Type | Name | Description |
---|---|---|
ActorSystemImpl | system | TBD |
Props | props | TBD |
Akka.Actor.IInternalActorRef | supervisor | TBD |
ActorPath | path | TBD |
Boolean | systemService | TBD |
Deploy | deploy | TBD |
Boolean | lookupDeploy | TBD |
Boolean | async | TBD |
Returns
Type | Description |
---|---|
Akka.Actor.IInternalActorRef | TBD |
Exceptions
Type | Condition |
---|---|
ConfigurationException | This exception can be thrown for a number of reasons. The following are some examples:
|
CreateFutureRef<T>(TaskCompletionSource<T>)
Declaration
public FutureActorRef<T> CreateFutureRef<T>(TaskCompletionSource<T> tcs)
Parameters
Type | Name | Description |
---|---|---|
TaskCompletionSource<T> | tcs |
Returns
Type | Description |
---|---|
FutureActorRef<T> |
Type Parameters
Name | Description |
---|---|
T |
GetExternalAddressFor(Address)
TBD
Declaration
public Address GetExternalAddressFor(Address address)
Parameters
Type | Name | Description |
---|---|---|
Address | address | TBD |
Returns
Type | Description |
---|---|
Address | TBD |
Init(ActorSystemImpl)
Initializes the ActorRefProvider
Declaration
public void Init(ActorSystemImpl system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystemImpl | system | The concrete ActorSystem implementation. |
RegisterExtraName(String, IInternalActorRef)
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 Start() finishes, or before you start your own auto-spawned actors.
Declaration
public void RegisterExtraName(string name, IInternalActorRef actor)
Parameters
Type | Name | Description |
---|---|---|
String | name | TBD |
Akka.Actor.IInternalActorRef | actor | TBD |
RegisterTempActor(IInternalActorRef, ActorPath)
Registers an actorRef at a path returned by TempPath(); do NOT pass in any other path.
Declaration
public void RegisterTempActor(IInternalActorRef actorRef, ActorPath path)
Parameters
Type | Name | Description |
---|---|---|
Akka.Actor.IInternalActorRef | actorRef | The actor reference. |
ActorPath | path | A path returned by TempPath(). Do NOT pass in any other path! |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception is thrown if the given |
ResolveActorRef(ActorPath)
Resolves the actor reference.
Declaration
public IActorRef ResolveActorRef(ActorPath path)
Parameters
Type | Name | Description |
---|---|---|
ActorPath | path | The actor path. |
Returns
Type | Description |
---|---|
IActorRef | ActorRef. |
ResolveActorRef(String)
TBD
Declaration
public IActorRef ResolveActorRef(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | TBD |
Returns
Type | Description |
---|---|
IActorRef | TBD |
RootGuardianAt(Address)
TBD
Declaration
public IActorRef RootGuardianAt(Address address)
Parameters
Type | Name | Description |
---|---|---|
Address | address | TBD |
Returns
Type | Description |
---|---|
IActorRef | TBD |
TempPath()
TBD
Declaration
public ActorPath TempPath()
Returns
Type | Description |
---|---|
ActorPath | TBD |
UnregisterTempActor(ActorPath)
Unregister a temporary actor (i.e. obtained from TempPath()); do NOT pass in any other path.
Declaration
public void UnregisterTempActor(ActorPath path)
Parameters
Type | Name | Description |
---|---|---|
ActorPath | path | A path returned by TempPath(). Do NOT pass in any other path! |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception is thrown if the given |