public MqttConnectionWatchdog(IMediator mediator, IMqttClient client, MqttBrokerConfiguration configuration)
 {
     Mediator      = mediator ?? throw new ArgumentNullException(nameof(mediator));
     Client        = client ?? throw new ArgumentNullException(nameof(client));
     Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }
Exemple #2
0
 public MqttClientConnectedHandler(IMediator mediator, MqttBrokerConfiguration configuration)
 {
     Mediator      = mediator ?? throw new ArgumentNullException(nameof(mediator));
     Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }