Class: Ice::TCPConnectionInfo

Inherits:
IPConnectionInfo show all
Defined in:
lib/Ice/Connection.rb

Instance Attribute Summary collapse

Attributes inherited from IPConnectionInfo

#localAddress, #localPort, #remoteAddress, #remotePort

Attributes inherited from ConnectionInfo

#adapterName, #connectionId, #incoming, #underlying

Instance Method Summary collapse

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(underlying=nil, incoming=false, adapterName='', connectionId='', localAddress="", localPort=-1, remoteAddress="", remotePort=-1, rcvSize=0, sndSize=0)
    super(underlying, incoming, adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort)
    @rcvSize = rcvSize
    @sndSize = sndSize
end

Instance Attribute Details

#rcvSizeObject

Returns the value of attribute rcvSize.



347
348
349
# File 'lib/Ice/Connection.rb', line 347

def rcvSize
  @rcvSize
end

#sndSizeObject

Returns the value of attribute sndSize.



347
348
349
# File 'lib/Ice/Connection.rb', line 347

def sndSize
  @sndSize
end