Class: Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::BufferItem
- Inherits:
-
Object
- Object
- Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::BufferItem
- Defined in:
- lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb
Instance Attribute Summary collapse
-
#addr ⇒ Object
readonly
Returns the value of attribute addr.
-
#belongs_to_param_n ⇒ Object
readonly
Returns the value of attribute belongs_to_param_n.
-
#datatype ⇒ Object
readonly
Returns the value of attribute datatype.
-
#length_in_bytes ⇒ Object
readonly
Returns the value of attribute length_in_bytes.
Instance Method Summary collapse
-
#initialize(belongs_to_param_n, addr, length_in_bytes, datatype) ⇒ BufferItem
constructor
A new instance of BufferItem.
Constructor Details
#initialize(belongs_to_param_n, addr, length_in_bytes, datatype) ⇒ BufferItem
Returns a new instance of BufferItem.
40 41 42 43 44 45 |
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 40 def initialize(belongs_to_param_n, addr, length_in_bytes, datatype) @belongs_to_param_n = belongs_to_param_n @addr = addr @length_in_bytes = length_in_bytes @datatype = datatype end |
Instance Attribute Details
#addr ⇒ Object (readonly)
Returns the value of attribute addr.
38 39 40 |
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38 def addr @addr end |
#belongs_to_param_n ⇒ Object (readonly)
Returns the value of attribute belongs_to_param_n.
38 39 40 |
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38 def belongs_to_param_n @belongs_to_param_n end |
#datatype ⇒ Object (readonly)
Returns the value of attribute datatype.
38 39 40 |
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38 def datatype @datatype end |
#length_in_bytes ⇒ Object (readonly)
Returns the value of attribute length_in_bytes.
38 39 40 |
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38 def length_in_bytes @length_in_bytes end |