class Rex::Proto::Rmi::Model::Continuation
This class provides a representation of an RMI continuation stream
Attributes
address[RW]
@!attribute address
@return [String] the end point address
length[RW]
@!attribute length
@return [Fixnum] the end point address length
port[RW]
@!attribute port
@return [Fixnum] the end point port
Private Instance Methods
decode_address(io)
click to toggle source
decode_length(io)
click to toggle source
decode_port(io)
click to toggle source
encode_address()
click to toggle source
Encodes the address field
@return [String]
# File lib/rex/proto/rmi/model/continuation.rb, line 61 def encode_address address end
encode_length()
click to toggle source
Encodes the length field
@return [String]
# File lib/rex/proto/rmi/model/continuation.rb, line 54 def encode_length [length].pack('n') end
encode_port()
click to toggle source
Encodes the port field
@return [String]
# File lib/rex/proto/rmi/model/continuation.rb, line 68 def encode_port [port].pack('N') end