Exemple #1
0
 public TransportConfig(INodeNetworkAddress config)
     : this(config.PortNumber, config.Host, config.PublicHost, config.EnforceIpVersion)
 {
 }
Exemple #2
0
        private static string GetSeedNetworkAddress(string name, INodeNetworkAddress conf)
        {
            string networkAddress = $"akka.tcp://{name}@{conf.Host}:{conf.PortNumber}";

            return(networkAddress);
        }
 public NodeConfiguration(string name, INodeNetworkAddress addressConf, LogEventLevel logLevel = LogEventLevel.Verbose)
 {
     Address  = addressConf;
     LogLevel = logLevel;
     Name     = name;
 }
Exemple #4
0
 public ClusterConfig(string name, INodeNetworkAddress address, params string[] seedNodes) : base(address)
 {
     _name      = name;
     _seedNodes = seedNodes;
 }
 public ActorSystemBuilder Remote(INodeNetworkAddress network)
 {
     Add(new TransportConfig(network));
     return(this);
 }