Class: Ice::UDPEndpointInfo

Inherits:
IPEndpointInfo show all
Defined in:
lib/Ice/Endpoint.rb

Instance Attribute Summary collapse

Attributes inherited from IPEndpointInfo

#host, #port, #sourceAddress

Attributes inherited from EndpointInfo

#compress, #timeout, #underlying

Instance Method Summary collapse

Constructor Details

#initialize(underlying = nil, timeout = 0, compress = false, host = '', port = 0, sourceAddress = '', mcastInterface = '', mcastTtl = 0) ⇒ UDPEndpointInfo

Returns a new instance of UDPEndpointInfo.



123
124
125
126
127
# File 'lib/Ice/Endpoint.rb', line 123

def initialize(underlying=nil, timeout=0, compress=false, host='', port=0, sourceAddress='', mcastInterface='', mcastTtl=0)
    super(underlying, timeout, compress, host, port, sourceAddress)
    @mcastInterface = mcastInterface
    @mcastTtl = mcastTtl
end

Instance Attribute Details

#mcastInterfaceObject

Returns the value of attribute mcastInterface.



129
130
131
# File 'lib/Ice/Endpoint.rb', line 129

def mcastInterface
  @mcastInterface
end

#mcastTtlObject

Returns the value of attribute mcastTtl.



129
130
131
# File 'lib/Ice/Endpoint.rb', line 129

def mcastTtl
  @mcastTtl
end