コード例 #1
0
 public GatewayConnectionListener(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     MessageFactory messageFactory,
     OverloadDetector overloadDetector,
     Gateway gateway,
     INetworkingTrace trace,
     ILocalSiloDetails localSiloDetails,
     IOptions <MultiClusterOptions> multiClusterOptions,
     IOptions <EndpointOptions> endpointOptions,
     MessageCenter messageCenter,
     ConnectionManager connectionManager)
     : base(serviceProvider, serviceProvider.GetRequiredServiceByKey <object, IConnectionListenerFactory>(ServicesKey), connectionOptions, connectionManager, trace)
 {
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.messageFactory        = messageFactory;
     this.overloadDetector      = overloadDetector;
     this.gateway             = gateway;
     this.trace               = trace;
     this.localSiloDetails    = localSiloDetails;
     this.multiClusterOptions = multiClusterOptions;
     this.messageCenter       = messageCenter;
     this.endpointOptions     = endpointOptions.Value;
 }
コード例 #2
0
 public SiloConnectionFactory(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     ILocalSiloDetails localSiloDetails,
     ConnectionCommon connectionShared)
     : base(serviceProvider.GetRequiredServiceByKey <object, IConnectionFactory>(ServicesKey), serviceProvider, connectionOptions)
 {
     this.serviceProvider       = serviceProvider;
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.localSiloDetails      = localSiloDetails;
     this.connectionShared      = connectionShared;
 }
コード例 #3
0
 public SiloConnectionFactory(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     MessageFactory messageFactory,
     INetworkingTrace trace,
     ILocalSiloDetails localSiloDetails)
     : base(serviceProvider.GetRequiredServiceByKey <object, IConnectionFactory>(ServicesKey), serviceProvider, connectionOptions)
 {
     this.serviceProvider       = serviceProvider;
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.messageFactory        = messageFactory;
     this.trace            = trace;
     this.localSiloDetails = localSiloDetails;
 }
コード例 #4
0
 public SiloConnectionFactory(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     ILocalSiloDetails localSiloDetails,
     ConnectionCommon connectionShared,
     ProbeRequestMonitor probeRequestMonitor,
     ConnectionPreambleHelper connectionPreambleHelper)
     : base(serviceProvider.GetRequiredServiceByKey <object, IConnectionFactory>(ServicesKey), serviceProvider, connectionOptions)
 {
     this.serviceProvider          = serviceProvider;
     this.siloConnectionOptions    = siloConnectionOptions.Value;
     this.localSiloDetails         = localSiloDetails;
     this.connectionShared         = connectionShared;
     this.probeRequestMonitor      = probeRequestMonitor;
     this.connectionPreambleHelper = connectionPreambleHelper;
 }
コード例 #5
0
 public SiloConnectionListener(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     MessageCenter messageCenter,
     IOptions <EndpointOptions> endpointOptions,
     ILocalSiloDetails localSiloDetails,
     ConnectionManager connectionManager,
     ConnectionCommon connectionShared)
     : 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.endpointOptions       = endpointOptions.Value;
 }
コード例 #6
0
 public SiloConnectionListener(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     MessageCenter messageCenter,
     MessageFactory messageFactory,
     INetworkingTrace trace,
     IOptions <EndpointOptions> endpointOptions,
     ILocalSiloDetails localSiloDetails,
     ConnectionManager connectionManager)
     : base(serviceProvider, serviceProvider.GetRequiredServiceByKey <object, IConnectionListenerFactory>(ServicesKey), connectionOptions, connectionManager, trace)
 {
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.messageCenter         = messageCenter;
     this.messageFactory        = messageFactory;
     this.trace             = trace;
     this.localSiloDetails  = localSiloDetails;
     this.connectionManager = connectionManager;
     this.endpointOptions   = endpointOptions.Value;
 }
コード例 #7
0
 public GatewayConnectionListener(
     IServiceProvider serviceProvider,
     IOptions <ConnectionOptions> connectionOptions,
     IOptions <SiloConnectionOptions> siloConnectionOptions,
     OverloadDetector overloadDetector,
     ILocalSiloDetails localSiloDetails,
     IOptions <EndpointOptions> endpointOptions,
     MessageCenter messageCenter,
     ConnectionManager connectionManager,
     ConnectionCommon connectionShared,
     ConnectionPreambleHelper connectionPreambleHelper,
     ILogger <GatewayConnectionListener> logger)
     : base(serviceProvider.GetRequiredServiceByKey <object, IConnectionListenerFactory>(ServicesKey), connectionOptions, connectionManager, connectionShared)
 {
     this.siloConnectionOptions = siloConnectionOptions.Value;
     this.overloadDetector      = overloadDetector;
     this.gateway                  = messageCenter.Gateway;
     this.localSiloDetails         = localSiloDetails;
     this.messageCenter            = messageCenter;
     this.connectionShared         = connectionShared;
     this.connectionPreambleHelper = connectionPreambleHelper;
     this.logger          = logger;
     this.endpointOptions = endpointOptions.Value;
 }