Class: Rex::Proto::Rmi::Model::UniqueIdentifier

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

Overview

This class provides a representation of UniqueIdentifier as used in RMI calls

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

#countInteger

Returns Identifies different instance of the same object generated from the same VM at the same time.

Returns:

  • (Integer)

    Identifies different instance of the same object generated from the same VM at the same time



19
20
21
# File 'lib/rex/proto/rmi/model/unique_identifier.rb', line 19

def count
  @count
end

#numberInteger

Returns Identifies the VM where an object is generated.

Returns:

  • (Integer)

    Identifies the VM where an object is generated



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

def number
  @number
end

#timeInteger

Returns Time where the object was generated.

Returns:

  • (Integer)

    Time where the object was generated



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

def time
  @time
end