Class: Rubtella::TCPData::Base

Inherits:
Object
  • Object
show all
Includes:
Config
Defined in:
lib/rubtella/tcp_data.rb

Direct Known Subclasses

Builder, Parser

Constant Summary

Constants included from Config

Config::GUID, Config::IP_ADDRESS, Config::PID_FILE, Config::PORT

Instance Attribute Summary collapse

Method Summary

Methods included from Config

generate_guid

Instance Attribute Details

#binary_dataObject

Returns the value of attribute binary_data.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def binary_data
  @binary_data
end

#guidObject

Returns the value of attribute guid.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def guid
  @guid
end

#hopsObject

Returns the value of attribute hops.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def hops
  @hops
end

#messagesObject

Returns the value of attribute messages.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def messages
  @messages
end

#messages_codesObject

Returns the value of attribute messages_codes.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def messages_codes
  @messages_codes
end

#payload_lenghtObject

Returns the value of attribute payload_lenght.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def payload_lenght
  @payload_lenght
end

#payload_typeObject

Returns the value of attribute payload_type.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def payload_type
  @payload_type
end

#restObject

Returns the value of attribute rest.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def rest
  @rest
end

#ttlObject

Returns the value of attribute ttl.



7
8
9
# File 'lib/rubtella/tcp_data.rb', line 7

def ttl
  @ttl
end