Class: Ice::TCPConnectionInfo
- Inherits:
-
IPConnectionInfo
- Object
- ConnectionInfo
- IPConnectionInfo
- Ice::TCPConnectionInfo
- Defined in:
- lib/Ice/Connection.rb
Instance Attribute Summary collapse
-
#rcvSize ⇒ Object
Returns the value of attribute rcvSize.
-
#sndSize ⇒ Object
Returns the value of attribute sndSize.
Attributes inherited from IPConnectionInfo
#localAddress, #localPort, #remoteAddress, #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,, rcvSize = 0, sndSize = 0) ⇒ TCPConnectionInfo
constructor
A new instance of TCPConnectionInfo.
Constructor Details
#initialize(underlying = nil, incoming = false, adapterName = '', connectionId = '', localAddress = "", localPort = -1,, remoteAddress = "", remotePort = -1,, rcvSize = 0, sndSize = 0) ⇒ TCPConnectionInfo
Returns a new instance of TCPConnectionInfo.
341 342 343 344 345 |
# File 'lib/Ice/Connection.rb', line 341 def initialize(=nil, incoming=false, adapterName='', connectionId='', localAddress="", localPort=-1, remoteAddress="", remotePort=-1, rcvSize=0, sndSize=0) super(, incoming, adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort) @rcvSize = rcvSize @sndSize = sndSize end |
Instance Attribute Details
#rcvSize ⇒ Object
Returns the value of attribute rcvSize.
347 348 349 |
# File 'lib/Ice/Connection.rb', line 347 def rcvSize @rcvSize end |
#sndSize ⇒ Object
Returns the value of attribute sndSize.
347 348 349 |
# File 'lib/Ice/Connection.rb', line 347 def sndSize @sndSize end |