Пример #1
0
 public PublishReflex(MqttClientConfiguration mqttConfiguration, IIncomingPacketStore store, Func <IActivityMonitor, string, PipeReader, int, QualityOfService, bool, CancellationToken, ValueTask> messageHandler, OutputPump output)
 {
     _mqttConfiguration = mqttConfiguration;
     _store             = store;
     _messageHandler    = messageHandler;
     _output            = output;
 }
Пример #2
0
 public PublishLifecycleReflex(IIncomingPacketStore packetIdStore, IOutgoingPacketStore store, OutputPump output)
 => (_packetIdStore, _store, _output) = (packetIdStore, store, output);
Пример #3
0
 public ClientState(InputPump input, OutputPump output, IMqttChannel channel, IIncomingPacketStore packetIdStore, IOutgoingPacketStore store) : base(input, output)
 {
     Channel       = channel;
     PacketIdStore = packetIdStore;
     Store         = store;
 }