예제 #1
0
 protected Client(ConnectionConfiguration connectionConfig,
                  ChannelConfiguration channelConfig,
                  IJsonUtil jsonUtil,
                  ILogger <Client> logger)
 {
     _connectionConfig = connectionConfig;
     _channelConfig    = channelConfig;
     _jsonUtil         = jsonUtil;
     _logger           = logger;
 }
 public ClientProducer(ConnectionConfiguration connectionConfig,
                       ChannelConfiguration channelConfig,
                       IJsonUtil jsonUtil,
                       ILogger <Client> logger) : base(connectionConfig, channelConfig, jsonUtil, logger)
 {
     _props = new BasicProperties
     {
         AppId       = TheAppId,
         ContentType = TheContentType
     };
 }
 public ClientConsumer(ConnectionConfiguration connectionConfig,
                       ChannelConfiguration channelConfig,
                       IJsonUtil jsonUtil,
                       ILogger <Client> logger) : base(connectionConfig, channelConfig, jsonUtil, logger)
 {
 }