Class: Ice::IPEndpointInfo
- Inherits:
-
EndpointInfo
- Object
- EndpointInfo
- Ice::IPEndpointInfo
- Defined in:
- lib/Ice/Endpoint.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
-
#sourceAddress ⇒ Object
Returns the value of attribute sourceAddress.
Attributes inherited from EndpointInfo
#compress, #timeout, #underlying
Instance Method Summary collapse
-
#initialize(underlying = nil, timeout = 0, compress = false, host = '', port = 0, sourceAddress = '') ⇒ IPEndpointInfo
constructor
A new instance of IPEndpointInfo.
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(=nil, timeout=0, compress=false, host='', port=0, sourceAddress='') super(, timeout, compress) @host = host @port = port @sourceAddress = sourceAddress end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
85 86 87 |
# File 'lib/Ice/Endpoint.rb', line 85 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
85 86 87 |
# File 'lib/Ice/Endpoint.rb', line 85 def port @port end |
#sourceAddress ⇒ Object
Returns the value of attribute sourceAddress.
85 86 87 |
# File 'lib/Ice/Endpoint.rb', line 85 def sourceAddress @sourceAddress end |