Class: MiniMqtt::PubrelPacket

Inherits:
Packet
  • Object
show all
Includes:
AckPacket
Defined in:
lib/mini_mqtt/pubrel_packet.rb

Instance Attribute Summary

Attributes included from AckPacket

#packet_id

Instance Method Summary collapse

Methods included from AckPacket

#build_variable_header, #initialize, #read_variable_header

Methods inherited from Packet

#decode, #encode, get_packet_class, packet_type_id

Methods included from BinHelper

#flag_byte, #mqtt_utf8_encode, #read_mqtt_encoded_string, #read_ushort, #uchar, #ushort

Instance Method Details

#flagsObject



6
7
8
# File 'lib/mini_mqtt/pubrel_packet.rb', line 6

def flags
  0b0010
end