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