public HttpAddressingScheme(INetworkEnvironment network) { Network = network; Name = Network.LocalIPAddress.ToString(); var cfg = new Configuration().WithAppropriateOverrides(); UseSsl = cfg.Get(Constants.Configuration.EncryptedTransportRequired); Port = cfg.Get(UseSsl ? Constants.Configuration.ExternalSecureEventListenerPort : Constants.Configuration.ExternalEventListenerPort).ToString(); }
public ExecutionContext(INetworkEnvironment env) { Network = new Neighbourhood(); StateStore = new ConcurrentDictionary<Guid, object>(); LocalAddress = env.LocalIPAddress.ToString(); HostName = env.HostName; NodeId = env.UniqueId; }
public BaseHttpChannel(INetworkEnvironment network, IConfiguration config) { Network = network; Config = config; }
public TcpWriteableChannel(INetworkEnvironment network, IConfiguration cfg) { Configuration = cfg; Network = network; }
public HttpReadableChannel(INetworkEnvironment network) : base(network, null) { }
public CommunicationsService(INetworkEnvironment env) { Network = env; }
public TcpExposedEventListener(IConfiguration cfg, IEventInterpreter<IExecutionContext> interpreter, INetworkEnvironment env, ISecurityService svc) : base(cfg, interpreter, svc) { NetworkHelper = env; }