Node() public method

Query the controller for the transport address of the given node (by role name) and return that as an ActorPath for easy composition: var serviceA = Sys.ActorSelection(Node(new RoleName("master")) / "user" / "serviceA");
public Node ( RoleName role ) : ActorPath
role RoleName
return ActorPath
Beispiel #1
0
 public Replacement(string tag, RoleName role, MultiNodeSpec spec)
 {
     _tag  = tag;
     _role = role;
     _addr = new Lazy <string>(() => spec.Node(role).Address.ToString());
 }
Beispiel #2
0
 public Replacement(string tag, RoleName role, MultiNodeSpec spec)
 {
     _tag = tag;
     _role = role;
     _addr = new Lazy<string>(() => spec.Node(role).Address.ToString());
 }