예제 #1
0
 public MqttTopicsStarter(
     IMessageReceiverClientFactory receiverFactory,
     IServiceScopeFactory scopeFactory,
     IServiceProvider serviceProvider,
     ILogger <MqttTopicsStarter> logger)
 {
     _receiverFactory = receiverFactory;
     _scopeFactory    = scopeFactory;
     _serviceProvider = serviceProvider;
     _logger          = logger;
     _workers         = new List <Worker>();
 }
예제 #2
0
 public MqttMessageReceived(IMessageReceiverClientFactory messageReceiver)
 {
     _messageReceiver = messageReceiver;
 }
 public RabbitMqMessageReceived(IMessageReceiverClientFactory messageReceiverClientFactory)
 {
     _messageReceiverClientFactory = messageReceiverClientFactory;
 }