Class: Rex::Proto::Rmi::Model::OutputHeader

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

Overview

This class provides a representation of an RMI output stream header

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

#protocolInteger

Returns the protocol where the the messages are wrapped within.

Returns:

  • (Integer)

    the protocol where the the messages are wrapped within


18
19
20
# File 'lib/rex/proto/rmi/model/output_header.rb', line 18

def protocol
  @protocol
end

#signatureString

Returns the Java RMI header signature.

Returns:

  • (String)

    the Java RMI header signature


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

def signature
  @signature
end

#versionInteger

Returns the Java RMI version.

Returns:

  • (Integer)

    the Java RMI version


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

def version
  @version
end