You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IMqttPacketSerializer.cs 418 B

7 vuotta sitten
7 vuotta sitten
7 vuotta sitten
123456789101112131415
  1. using System.Threading.Tasks;
  2. using MQTTnet.Core.Channel;
  3. using MQTTnet.Core.Packets;
  4. namespace MQTTnet.Core.Serializer
  5. {
  6. public interface IMqttPacketSerializer
  7. {
  8. MqttProtocolVersion ProtocolVersion { get; set; }
  9. Task SerializeAsync(MqttBasePacket mqttPacket, IMqttCommunicationChannel destination);
  10. Task<MqttBasePacket> DeserializeAsync(IMqttCommunicationChannel source);
  11. }
  12. }