public void Serialize_Full_MqttPingRespPacket_V311()
        {
            var pingRespPacket = new MqttPingRespPacket();

            var deserialized = MqttPacketSerializationHelper.EncodeAndDecodePacket(pingRespPacket, MqttProtocolVersion.V311);

            Assert.IsNotNull(deserialized);
        }
Beispiel #2
0
 private static byte Serialize(MqttPingRespPacket packet, MqttPacketWriter writer)
 {
     return(SerializeEmptyPacketAsync(MqttControlPacketType.PingResp, writer));
 }
 private Task SerializeAsync(MqttPingRespPacket packet, IMqttCommunicationChannel destination)
 {
     return(SerializeEmptyPacketAsync(MqttControlPacketType.PingResp, destination));
 }