Class UDPDiscoveryAttributes
java.lang.Object
org.apache.commons.jcs3.utils.discovery.UDPDiscoveryAttributes
- All Implemented Interfaces:
- Cloneable
Configuration properties for UDP discover service.
 
The service will allow out applications to find each other.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()intintintintintbooleanisDark()voidsetDark(boolean isDark) voidsetMaxIdleTimeSec(int maxIdleTimeSec) voidsetSendDelaySec(int sendDelaySec) voidsetServiceAddress(String serviceAddress) voidsetServiceName(String serviceName) voidsetServicePort(int servicePort) voidsetUdpDiscoveryAddr(String udpDiscoveryAddr) voidsetUdpDiscoveryInterface(String udpDiscoveryInterface) voidsetUdpDiscoveryPort(int udpDiscoveryPort) voidsetUdpTTL(int udpTTL) toString()
- 
Constructor Details- 
UDPDiscoveryAttributespublic UDPDiscoveryAttributes()
 
- 
- 
Method Details- 
setServiceName- Parameters:
- serviceName- The serviceName to set.
 
- 
getServiceName- Returns:
- Returns the serviceName.
 
- 
setServiceAddress- Parameters:
- serviceAddress- The serviceAddress to set.
 
- 
getServiceAddress- Returns:
- Returns the serviceAddress.
 
- 
setServicePort- Parameters:
- servicePort- The servicePort to set.
 
- 
getServicePort- Returns:
- Returns the servicePort.
 
- 
setUdpDiscoveryAddr- Parameters:
- udpDiscoveryAddr- The udpDiscoveryAddr to set.
 
- 
getUdpDiscoveryAddr- Returns:
- Returns the udpDiscoveryAddr.
 
- 
setUdpDiscoveryInterface- Parameters:
- udpDiscoveryInterface- The udpDiscoveryInterface to set.
 
- 
getUdpDiscoveryInterface- Returns:
- Returns the udpDiscoveryInterface.
 
- 
setUdpDiscoveryPort- Parameters:
- udpDiscoveryPort- The udpDiscoveryPort to set.
 
- 
getUdpTTL- Returns:
- Returns the udpTTL.
 
- 
setUdpTTL- Parameters:
- udpTTL- The udpTTL to set.
 
- 
getUdpDiscoveryPort- Returns:
- Returns the udpDiscoveryPort.
 
- 
setSendDelaySec- Parameters:
- sendDelaySec- The sendDelaySec to set.
 
- 
getSendDelaySec- Returns:
- Returns the sendDelaySec.
 
- 
setMaxIdleTimeSec- Parameters:
- maxIdleTimeSec- The maxIdleTimeSec to set.
 
- 
getMaxIdleTimeSec- Returns:
- Returns the maxIdleTimeSec.
 
- 
isDark- Returns:
- Returns the isDark.
 
- 
setDark- Parameters:
- isDark- The isDark to set.
 
- 
clone
- 
toString
 
-