25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
434 B

  1. using MQTTnet.Protocol;
  2. namespace MQTTnet.Packets
  3. {
  4. public sealed class MqttConnAckPacket : MqttBasePacket
  5. {
  6. public bool IsSessionPresent { get; set; }
  7. public MqttConnectReturnCode ConnectReturnCode { get; set; }
  8. public override string ToString()
  9. {
  10. return "ConnAck: [ConnectReturnCode=" + ConnectReturnCode + "] [IsSessionPresent=" + IsSessionPresent + "]";
  11. }
  12. }
  13. }