Class representing an MQTT Client Disconnect packet
Create a new Client Disconnect packet
# File lib/mqtt/packet.rb, line 1052 def initialize(args={}) super(args) end
Check the body
# File lib/mqtt/packet.rb, line 1057 def parse_body(buffer) super(buffer) unless buffer.empty? raise ProtocolException.new("Extra bytes at end of Disconnect packet") end end