Exemplo n.º 1
0
 public SiloConnectionFactory(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     ILocalSiloDetails localSiloDetails,
     ConnectionCommon connectionShared,
     ProbeRequestMonitor probeRequestMonitor)
     : base(serviceProvider.GetRequiredServiceByKey <object, IConnectionFactory>(ServicesKey), serviceProvider, connectionOptions)
 {
     this.serviceProvider       = serviceProvider;
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.localSiloDetails      = localSiloDetails;
     this.connectionShared      = connectionShared;
     this.probeRequestMonitor   = probeRequestMonitor;
 }
Exemplo n.º 2
0
 public SiloConnection(
     SiloAddress remoteSiloAddress,
     ConnectionContext connection,
     ConnectionDelegate middleware,
     MessageCenter messageCenter,
     ILocalSiloDetails localSiloDetails,
     ConnectionManager connectionManager,
     ConnectionOptions connectionOptions,
     ConnectionCommon connectionShared,
     ProbeRequestMonitor probeMonitor)
     : base(connection, middleware, connectionShared)
 {
     this.messageCenter     = messageCenter;
     this.connectionManager = connectionManager;
     this.connectionOptions = connectionOptions;
     this.probeMonitor      = probeMonitor;
     this.LocalSiloAddress  = localSiloDetails.SiloAddress;
     this.RemoteSiloAddress = remoteSiloAddress;
 }
Exemplo n.º 3
0
 public SiloConnectionListener(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     MessageCenter messageCenter,
     IOptions <EndpointOptions> endpointOptions,
     ILocalSiloDetails localSiloDetails,
     ConnectionManager connectionManager,
     ConnectionCommon connectionShared,
     ProbeRequestMonitor probeRequestMonitor)
     : base(serviceProvider.GetRequiredServiceByKey <object, IConnectionListenerFactory>(ServicesKey), connectionOptions, connectionManager, connectionShared)
 {
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.messageCenter         = messageCenter;
     this.localSiloDetails      = localSiloDetails;
     this.connectionManager     = connectionManager;
     this.connectionShared      = connectionShared;
     this.probeRequestMonitor   = probeRequestMonitor;
     this.endpointOptions       = endpointOptions.Value;
 }