Beispiel #1
0
 public NatsQueueClient(ILogger <NatsQueueClient> log, NatsQueueClientOption clientOption, INatsQueueConnection connection, IHttpResponseParser responseParser)
 {
     _log            = log;
     _clientOption   = clientOption;
     _connection     = connection;
     _responseParser = responseParser;
 }
Beispiel #2
0
 public NatsQueueServer(ILogger <NatsQueueServer> log, INatsQueueConnection connection, NatsServerOption options, INatsConverter converter, INatsResponseProcessed responseProcessed)
 {
     _log               = log;
     _connection        = connection;
     _options           = options;
     _converter         = converter;
     _responseProcessed = responseProcessed;
 }