Class: Rex::Proto::Rmi::Model::ProtocolAck

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

Overview

This class provides a representation of an RMI protocol ack input 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

#addressString

Returns the end point address.

Returns:

  • (String)

    the end point address



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

def address
  @address
end

#lengthInteger

Returns the end point address length.

Returns:

  • (Integer)

    the end point address length



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

def length
  @length
end

#portInteger

Returns the end point port.

Returns:

  • (Integer)

    the end point port



21
22
23
# File 'lib/rex/proto/rmi/model/protocol_ack.rb', line 21

def port
  @port
end

#stream_idInteger

Returns the input stream id.

Returns:

  • (Integer)

    the input stream id



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

def stream_id
  @stream_id
end