enum Packet

Defined in:

crymq/mqtt.cr

Enum Members

Connect = 1_u8
Connack = 2_u8
Publish = 3_u8
Puback = 4_u8
Pubrec = 5_u8
Pubrel = 6_u8
Pubcomp = 7_u8
Subscribe = 8_u8
Suback = 9_u8
Unsubscribe = 10_u8
Unsuback = 11_u8
Pingreq = 12_u8
Pingresp = 13_u8
Disconnect = 14_u8

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_num(num : UInt8) #

[View source]

Instance Method Detail

def connack? #

[View source]
def connect? #

[View source]
def disconnect? #

[View source]
def pingreq? #

[View source]
def pingresp? #

[View source]
def puback? #

[View source]
def pubcomp? #

[View source]
def publish? #

[View source]
def pubrec? #

[View source]
def pubrel? #

[View source]
def suback? #

[View source]
def subscribe? #

[View source]
def unsuback? #

[View source]
def unsubscribe? #

[View source]