Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getBindAddress()
- setBindAddress(InetAddress)
- getGroupAddress()
- setGroupAddress(InetAddress)
- getGroupPort()
- setGroupPort(int)
- getGroupInterfaces()
- setGroupInterfaces(List)
- getTimeToLive()
- setTimeToLive(int)
- getAdvertiseInterval()
- setAdvertiseInterval(long)
- getConnectTimeout()
- setConnectTimeout(long)
- getMaxTransmissionLength()
- setMaxTransmissionLength(int)
- doStart()
- doStop()
- join(long)
- receive(String)
Class OortMulticastConfigurer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.cometd.oort.OortMulticastConfigurer
- All Implemented Interfaces:
org.eclipse.jetty.util.component.LifeCycle
public class OortMulticastConfigurer
extends org.eclipse.jetty.util.component.AbstractLifeCycle
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doStart()
protected void
doStop()
long
long
int
int
int
boolean
join
(long timeout) protected void
void
setAdvertiseInterval
(long advertiseInterval) void
setBindAddress
(InetAddress bindAddress) void
setConnectTimeout
(long connectTimeout) void
setGroupAddress
(InetAddress groupAddress) void
setGroupInterfaces
(List<NetworkInterface> groupInterfaces) void
setGroupPort
(int groupPort) void
setMaxTransmissionLength
(int maxTransmissionLength) void
setTimeToLive
(int timeToLive)
-
Constructor Details
-
Method Details
-
getBindAddress
- Returns:
- the address to bind the receiver multicast socket to
-
setBindAddress
- Parameters:
bindAddress
- the address to bind the receiver multicast socket to
-
getGroupAddress
- Returns:
- the multicast address onto which Oort URLs are advertised
-
setGroupAddress
- Parameters:
groupAddress
- the multicast address onto which Oort URLs are advertised
-
getGroupPort
public int getGroupPort()- Returns:
- the port the receiver multicast socket listens to
-
setGroupPort
public void setGroupPort(int groupPort) - Parameters:
groupPort
- the port the receiver multicast socket listens to
-
getGroupInterfaces
- Returns:
- the interfaces that receive multicast messages
-
setGroupInterfaces
- Parameters:
groupInterfaces
- the interfaces that receive multicast messages
-
getTimeToLive
public int getTimeToLive()- Returns:
- the multicast time-to-live
-
setTimeToLive
public void setTimeToLive(int timeToLive) - Parameters:
timeToLive
- the multicast time-to-live
-
getAdvertiseInterval
public long getAdvertiseInterval()- Returns:
- the advertisement interval in milliseconds
-
setAdvertiseInterval
public void setAdvertiseInterval(long advertiseInterval) - Parameters:
advertiseInterval
- the advertisement interval in milliseconds
-
getConnectTimeout
public long getConnectTimeout()- Returns:
- the timeout to connect to another Oort node
-
setConnectTimeout
public void setConnectTimeout(long connectTimeout) - Parameters:
connectTimeout
- the timeout to connect to another Oort node
-
getMaxTransmissionLength
public int getMaxTransmissionLength()- Returns:
- the max Oort URL length (must be smaller than the max transmission unit)
-
setMaxTransmissionLength
public void setMaxTransmissionLength(int maxTransmissionLength) - Parameters:
maxTransmissionLength
- the max Oort URL length (must be smaller than the max transmission unit)
-
doStart
-
doStop
protected void doStop()- Overrides:
doStop
in classorg.eclipse.jetty.util.component.AbstractLifeCycle
-
join
public boolean join(long timeout) -
receive
-