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 340 B

преди 7 години
преди 7 години
преди 7 години
преди 7 години
преди 7 години
1234567891011121314
  1. using MQTTnet.Core.Adapter;
  2. using MQTTnet.Core.Packets;
  3. namespace MQTTnet.Core.Serializer
  4. {
  5. public interface IMqttPacketSerializer
  6. {
  7. MqttProtocolVersion ProtocolVersion { get; set; }
  8. byte[] Serialize(MqttBasePacket mqttPacket);
  9. MqttBasePacket Deserialize(ReceivedMqttPacket receivedMqttPacket);
  10. }
  11. }