Class: Ice::IPEndpointInfo

Inherits:
EndpointInfo show all
Defined in:
lib/Ice/Endpoint.rb

Direct Known Subclasses

TCPEndpointInfo, UDPEndpointInfo

Instance Attribute Summary collapse

Attributes inherited from EndpointInfo

#compress, #timeout, #underlying

Instance Method Summary collapse

Constructor Details

#initialize(underlying = nil, timeout = 0, compress = false, host = '', port = 0, sourceAddress = '') ⇒ IPEndpointInfo

Returns a new instance of IPEndpointInfo.



78
79
80
81
82
83
# File 'lib/Ice/Endpoint.rb', line 78

def initialize(underlying=nil, timeout=0, compress=false, host='', port=0, sourceAddress='')
    super(underlying, timeout, compress)
    @host = host
    @port = port
    @sourceAddress = sourceAddress
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



85
86
87
# File 'lib/Ice/Endpoint.rb', line 85

def host
  @host
end

#portObject

Returns the value of attribute port.



85
86
87
# File 'lib/Ice/Endpoint.rb', line 85

def port
  @port
end

#sourceAddressObject

Returns the value of attribute sourceAddress.



85
86
87
# File 'lib/Ice/Endpoint.rb', line 85

def sourceAddress
  @sourceAddress
end