Class ActorRefFactoryShared
This class contains implementations originally found in Akka´s trait ActorRefFactory in ActorRefProvider.scala https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/ActorRefProvider.scala#L180 IActorRefFactory corresponds to that trait, but since it is an interface it cannot contain any code, hence this class.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public static class ActorRefFactoryShared
Methods
| Improve this Doc View SourceActorSelection(ActorPath, ActorSystem)
Construct an ActorSelection from the given path, which is parsed for wildcards (these are replaced by regular expressions internally). No attempt is made to verify the existence of any part of the supplied path, it is recommended to send a message and gather the replies in order to resolve the matching set of actors.
Declaration
public static ActorSelection ActorSelection(ActorPath actorPath, ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorPath | actorPath | TBD |
ActorSystem | system | TBD |
Returns
Type | Description |
---|---|
ActorSelection | TBD |
ActorSelection(IActorRef, String)
Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.
Declaration
public static ActorSelection ActorSelection(IActorRef anchorActorRef, string path)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | anchorActorRef | TBD |
String | path | TBD |
Returns
Type | Description |
---|---|
ActorSelection | TBD |
ActorSelection(String, ActorSystem, IActorRef)
Construct an ActorSelection from the given path, which is parsed for wildcards (these are replaced by regular expressions internally). No attempt is made to verify the existence of any part of the supplied path, it is recommended to send a message and gather the replies in order to resolve the matching set of actors.
Declaration
public static ActorSelection ActorSelection(string path, ActorSystem system, IActorRef lookupRoot)
Parameters
Type | Name | Description |
---|---|---|
String | path | TBD |
ActorSystem | system | TBD |
IActorRef | lookupRoot | TBD |
Returns
Type | Description |
---|---|
ActorSelection | TBD |