Class: MqttRails::Packet::Pingreq

Inherits:
Base
  • Object
show all
Defined in:
lib/mqtt_rails/packet/pingreq.rb

Constant Summary

Constants inherited from Base

Base::ATTR_DEFAULTS

Instance Attribute Summary

Attributes inherited from Base

#body_length, #flags, #id, #version

Instance Method Summary collapse

Methods inherited from Base

create_from_header, #encode_body, #inspect, parse, #parse_body, parse_header, read, #to_s, #type_id, #type_name, #update_attributes, #validate_flags

Constructor Details

#initialize(args = {}) ⇒ Pingreq

Create a new Ping Request packet



24
25
26
# File 'lib/mqtt_rails/packet/pingreq.rb', line 24

def initialize(args={})
  super(args)
end