Class: Rubtella::TCPData::Builder::Ping
- Inherits:
-
Rubtella::TCPData::Builder
- Object
- Rubtella::TCPData::Base
- Rubtella::TCPData::Builder
- Rubtella::TCPData::Builder::Ping
- Defined in:
- lib/rubtella/tcp_data.rb
Constant Summary
Constants included from Config
Config::GUID, Config::IP_ADDRESS, Config::PID_FILE, Config::PORT
Instance Attribute Summary
Attributes inherited from Rubtella::TCPData::Base
#binary_data, #guid, #hops, #messages, #messages_codes, #payload_lenght, #payload_type, #rest, #ttl
Instance Method Summary collapse
-
#initialize(args = nil) ⇒ Ping
constructor
A new instance of Ping.
Methods inherited from Rubtella::TCPData::Builder
#build, #build_message, #init_messages_codes
Methods included from Config
Constructor Details
#initialize(args = nil) ⇒ Ping
Returns a new instance of Ping.
68 69 70 71 72 |
# File 'lib/rubtella/tcp_data.rb', line 68 def initialize args = nil super() @payload_type = @messages_codes["ping"] end |