IActorRefProvider Methods |
The IActorRefProvider type exposes the following members.
Name | Description | |
---|---|---|
ActorOf |
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".
| |
GetExternalAddressFor |
Obtain the address which is to be used within sender references when
sending to the given other address or none if the other address cannot be
reached from this system (i.e. no means of communication known; no
attempt is made to verify actual reachability).
| |
Init |
Initialization of an ActorRefProvider happens in two steps: first
construction of the object with settings, eventStream, etc.
and then—when the ActorSystem is constructed—the second phase during
which actors may be created (e.g. the guardians).
| |
RegisterTempActor | Registers an actorRef at a path returned by TempPath; do NOT pass in any other path. | |
ResolveActorRef(String) | Get the actor reference for a specified path. If no such actor exists, it will be (equivalent to) a dead letter reference. | |
ResolveActorRef(ActorPath) | Get the actor reference for a specified path. If no such actor exists, it will be (equivalent to) a dead letter reference. | |
RootGuardianAt | Reference to the supervisor of guardian and systemGuardian at the specified address;
this is exposed so that the ActorRefFactory can use it as lookupRoot, i.e.
for anchoring absolute actor selections.
| |
TempPath | Generates and returns a unique actor path below "/temp". | |
UnregisterTempActor | Unregister a temporary actor (i.e. obtained from TempPath); do NOT pass in any other path. |