Exemple #1
0
 public SyncReceiverHandler(IServiceProvider serviceProvider, bool autoRelease)
 {
     this._serviceProvider = serviceProvider;
     this._autoRelease     = autoRelease;
     _clientWaits          = serviceProvider.GetRequiredService <ClientWaits>();
 }
Exemple #2
0
 internal DotNettyMessageHandler(IChannel channel, ClientWaits clientWait)
 {
     this._channel    = channel ?? throw new ArgumentNullException(nameof(channel));
     this._clientWait = clientWait;
 }
Exemple #3
0
 public DotNettyMessageHandlerProvider(IChannel channel, ClientWaits clientWaits)
 {
     this._channel     = channel;
     this._clientWaits = clientWaits;
 }