Beispiel #1
0
        private async Task ProcessReceivedPubRelPacket(MqttPubRelPacket pubRelPacket)
        {
            lock (_unacknowledgedPublishPackets)
            {
                _unacknowledgedPublishPackets.Remove(pubRelPacket.PacketIdentifier);
            }

            await SendAsync(pubRelPacket.CreateResponse <MqttPubCompPacket>());
        }
Beispiel #2
0
 private Task ProcessReceivedPubRelPacket(MqttPubRelPacket pubRelPacket)
 {
     return(SendAsync(pubRelPacket.CreateResponse <MqttPubCompPacket>()));
 }