예제 #1
0
 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();
 }
예제 #2
0
 public ExecutionContext(INetworkEnvironment env) {
     Network = new Neighbourhood();
     StateStore = new ConcurrentDictionary<Guid, object>();
     LocalAddress = env.LocalIPAddress.ToString();
     HostName = env.HostName;
     NodeId = env.UniqueId;
 }
예제 #3
0
 public BaseHttpChannel(INetworkEnvironment network, IConfiguration config) {
     Network = network;
     Config = config;
 }
예제 #4
0
 public TcpWriteableChannel(INetworkEnvironment network, IConfiguration cfg) { 
     Configuration = cfg;
     Network = network;
 }
예제 #5
0
 public HttpReadableChannel(INetworkEnvironment network) : base(network, null) {
 }
예제 #6
0
 public CommunicationsService(INetworkEnvironment env) {
     Network = env;
 }
예제 #7
0
 public TcpExposedEventListener(IConfiguration cfg, IEventInterpreter<IExecutionContext> interpreter, INetworkEnvironment env, ISecurityService svc) : base(cfg, interpreter, svc) {
     NetworkHelper = env;
 }