class Rex::Proto::Rmi::Model::UniqueIdentifier
This class provides a representation of UniqueIdentifier
as used in RMI calls
Attributes
count[RW]
@!attribute count
@return [Fixnum] Identifies different instance of the same object generated from the same VM at the same time
number[RW]
@!attribute number
@return [Fixnum] Identifies the VM where an object is generated
time[RW]
@!attribute time
@return [Fixnum] Time where the object was generated
Private Instance Methods
decode_count(io)
click to toggle source
decode_number(io)
click to toggle source
decode_time(io)
click to toggle source
encode_count()
click to toggle source
Encodes the count field
@return [String]
# File lib/rex/proto/rmi/model/unique_identifier.rb, line 69 def encode_count [count].pack('s>') end
encode_number()
click to toggle source
Encodes the number field
@return [String]
# File lib/rex/proto/rmi/model/unique_identifier.rb, line 55 def encode_number [number].pack('l>') end
encode_time()
click to toggle source
Encodes the time field
@return [String]
# File lib/rex/proto/rmi/model/unique_identifier.rb, line 62 def encode_time [time].pack('q>') end