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.
 
 
 
 

17 rivejä
422 B

  1. using System;
  2. using MQTTnet.Adapter;
  3. using MQTTnet.Packets;
  4. namespace MQTTnet.Formatter
  5. {
  6. public interface IMqttPacketFormatter
  7. {
  8. ArraySegment<byte> Encode(MqttBasePacket mqttPacket);
  9. MqttBasePacket Decode(ReceivedMqttPacket receivedMqttPacket);
  10. MqttPublishPacket ConvertApplicationMessageToPublishPacket(MqttApplicationMessage applicationMessage);
  11. void FreeBuffer();
  12. }
  13. }