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.


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

def initialize
  super(PING)
end