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.
 
 
 
 

13 rivejä
359 B

  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. Task SerializeAsync(MqttBasePacket mqttPacket, IMqttCommunicationChannel destination);
  9. Task<MqttBasePacket> DeserializeAsync(IMqttCommunicationChannel source);
  10. }
  11. }