public static IActorSystemConfigBuilder Remote(this IActorSystemConfigBuilder builder, NodeNetworkAddress network) { builder.Add(new RemoteConfig(network)); return(builder); }
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); }
public RemoteConfig(NodeNetworkAddress config) : this(config.PortNumber, config.Host, config.PublicHost) { }