Class: Rex::Proto::Kademlia::Ping

Inherits:
Message
  • Object
show all
Defined in:
lib/rex/proto/kademlia/ping.rb

Overview

A Kademlia ping message.

Constant Summary

Constants inherited from Message

Message::COMPRESSED_PACKET, Message::STANDARD_PACKET

Instance Attribute Summary

Attributes inherited from Message

#body, #type

Instance Method Summary collapse

Methods inherited from Message

#==, from_data, #to_str

Constructor Details

#initializePing

Returns a new instance of Ping.



12
13
14
# File 'lib/rex/proto/kademlia/ping.rb', line 12

def initialize
  super(PING)
end