public static IActorSystemConfigBuilder Remote(this IActorSystemConfigBuilder builder, NodeNetworkAddress network)
 {
     builder.Add(new RemoteConfig(network));
     return(builder);
 }
Ejemplo n.º 2
0
 public static string ToTcpAddress(this NodeNetworkAddress conf)
 {
     return($"akka.tcp://{conf.Name}@{conf.Host}:{conf.PortNumber}");
 }
Ejemplo n.º 3
0
 protected bool Equals(NodeNetworkAddress other)
 {
     return(string.Equals(Host, other.Host) && PortNumber == other.PortNumber);
 }
Ejemplo n.º 4
0
 public RemoteConfig(NodeNetworkAddress config)
     : this(config.PortNumber, config.Host, config.PublicHost)
 {
 }