Class: MQRPC::Messages::PingRequest

Inherits:
RequestMessage show all
Defined in:
lib/mqrpc/messages/ping.rb

Instance Method Summary collapse

Methods inherited from MQRPC::Message

#age, #generate_id!, inherited, new_from_data, #to_json

Methods included from BindToHash

#argument, #header

Constructor Details

#initializePingRequest

Returns a new instance of PingRequest.



6
7
8
9
# File 'lib/mqrpc/messages/ping.rb', line 6

def initialize
  super
  self.pingdata = Time.now.to_f
end