Class: Ice::UDPConnectionInfo

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,, mcastAddress = '', mcastPort = -1,, rcvSize = 0, sndSize = 0) ⇒ UDPConnectionInfo

Returns a new instance of UDPConnectionInfo.



366
367
368
369
370
371
372
# File 'lib/Ice/Connection.rb', line 366

def initialize(underlying=nil, incoming=false, adapterName='', connectionId='', localAddress="", localPort=-1, remoteAddress="", remotePort=-1, mcastAddress='', mcastPort=-1, rcvSize=0, sndSize=0)
    super(underlying, incoming, adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort)
    @mcastAddress = mcastAddress
    @mcastPort = mcastPort
    @rcvSize = rcvSize
    @sndSize = sndSize
end

Instance Attribute Details

#mcastAddressObject

Returns the value of attribute mcastAddress.



374
375
376
# File 'lib/Ice/Connection.rb', line 374

def mcastAddress
  @mcastAddress
end

#mcastPortObject

Returns the value of attribute mcastPort.



374
375
376
# File 'lib/Ice/Connection.rb', line 374

def mcastPort
  @mcastPort
end

#rcvSizeObject

Returns the value of attribute rcvSize.



374
375
376
# File 'lib/Ice/Connection.rb', line 374

def rcvSize
  @rcvSize
end

#sndSizeObject

Returns the value of attribute sndSize.



374
375
376
# File 'lib/Ice/Connection.rb', line 374

def sndSize
  @sndSize
end