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