Class: Ice::IPConnectionInfo
- Inherits:
-
ConnectionInfo
- Object
- ConnectionInfo
- Ice::IPConnectionInfo
- Defined in:
- lib/Ice/Connection.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#localAddress ⇒ Object
Returns the value of attribute localAddress.
-
#localPort ⇒ Object
Returns the value of attribute localPort.
-
#remoteAddress ⇒ Object
Returns the value of attribute remoteAddress.
-
#remotePort ⇒ Object
Returns the value of attribute remotePort.
Attributes inherited from ConnectionInfo
#adapterName, #connectionId, #incoming, #underlying
Instance Method Summary collapse
-
#initialize(underlying = nil, incoming = false, adapterName = '', connectionId = '', localAddress = "", localPort = -1,, remoteAddress = "", remotePort = -1)) ⇒ IPConnectionInfo
constructor
A new instance of IPConnectionInfo.
Constructor Details
#initialize(underlying = nil, incoming = false, adapterName = '', connectionId = '', localAddress = "", localPort = -1,, remoteAddress = "", remotePort = -1)) ⇒ IPConnectionInfo
Returns a new instance of IPConnectionInfo.
312 313 314 315 316 317 318 |
# File 'lib/Ice/Connection.rb', line 312 def initialize(=nil, incoming=false, adapterName='', connectionId='', localAddress="", localPort=-1, remoteAddress="", remotePort=-1) super(, incoming, adapterName, connectionId) @localAddress = localAddress @localPort = localPort @remoteAddress = remoteAddress @remotePort = remotePort end |
Instance Attribute Details
#localAddress ⇒ Object
Returns the value of attribute localAddress.
320 321 322 |
# File 'lib/Ice/Connection.rb', line 320 def localAddress @localAddress end |
#localPort ⇒ Object
Returns the value of attribute localPort.
320 321 322 |
# File 'lib/Ice/Connection.rb', line 320 def localPort @localPort end |
#remoteAddress ⇒ Object
Returns the value of attribute remoteAddress.
320 321 322 |
# File 'lib/Ice/Connection.rb', line 320 def remoteAddress @remoteAddress end |
#remotePort ⇒ Object
Returns the value of attribute remotePort.
320 321 322 |
# File 'lib/Ice/Connection.rb', line 320 def remotePort @remotePort end |