Class: Rex::Proto::Rmi::Model::ReturnData

Inherits:
Element
  • Object
show all
Defined in:
lib/rex/proto/rmi/model/return_data.rb

Overview

This class provides a representation of an RMI return data stream

Constant Summary

Constants included from Rex::Proto::Rmi::Model

CALL_MESSAGE, DGC_ACK_MESSAGE, MULTIPLEX_PROTOCOL, PING_ACK, PING_MESSAGE, PROTOCOL_ACK, PROTOCOL_NOT_SUPPORTED, RETURN_DATA, RETURN_EXCEPTION, RETURN_VALUE, SIGNATURE, SINGLE_OP_PROTOCOL, STREAM_PROTOCOL

Instance Attribute Summary collapse

Method Summary

Methods inherited from Element

attr_accessor, attributes, #attributes, decode, #decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Rex::Proto::Rmi::Model::Element

Instance Attribute Details

#return value(value) ⇒ Rex::Proto::Rmi::Model::ReturnValue

Returns the return value.

Returns:



15
# File 'lib/rex/proto/rmi/model/return_data.rb', line 15

attr_accessor :return_value

#return_valueObject

Returns the value of attribute return_value.



15
16
17
# File 'lib/rex/proto/rmi/model/return_data.rb', line 15

def return_value
  @return_value
end

#stream_idInteger

Returns the stream id.

Returns:

  • (Integer)

    the stream id



12
13
14
# File 'lib/rex/proto/rmi/model/return_data.rb', line 12

def stream_id
  @stream_id
end