|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jini.discovery.Constants
public class Constants
A holder class for constants that pertain to the unicast and multicast discovery protocols.
Field Summary | |
---|---|
static String |
MULTICAST_ANNOUNCEMENT_ADDRESS_PROPERTY
|
static String |
MULTICAST_DISCOVERY_PORT_PROPERTY
|
static String |
MULTICAST_ENABLED_PROPERTY
|
static String |
MULTICAST_REQUEST_ADDRESS_PROPERTY
|
static String |
MULTICAST_TTL_PROPERTY
|
static String |
USE_SOCKET_KEEP_ALIVE
|
static String |
USE_SOCKET_TCP_NO_DELAY
|
Method Summary | |
---|---|
static InetAddress |
getAnnouncementAddress()
Return the address of the multicast group over which the multicast announcement protocol takes place. |
static int |
getDiscoveryPort()
|
static String |
getHostAddress()
Return the local host address using java.net.InetAddress.getLocalHost().getHostAddress() |
static InetAddress |
getRequestAddress()
Return the address of the multicast group over which the multicast request protocol takes place. |
static int |
getTtl()
Default time to live value to use for sending multicast packets |
static boolean |
isMulticastEnabled()
|
static boolean |
useSocketKeepAlive()
|
static boolean |
useSocketTcpNoDelay()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MULTICAST_ANNOUNCEMENT_ADDRESS_PROPERTY
public static final String MULTICAST_REQUEST_ADDRESS_PROPERTY
public static final String MULTICAST_DISCOVERY_PORT_PROPERTY
public static final String MULTICAST_TTL_PROPERTY
public static final String MULTICAST_ENABLED_PROPERTY
public static final String USE_SOCKET_KEEP_ALIVE
public static final String USE_SOCKET_TCP_NO_DELAY
Method Detail |
---|
public static final InetAddress getRequestAddress() throws UnknownHostException
UnknownHostException
public static final InetAddress getAnnouncementAddress() throws UnknownHostException
UnknownHostException
public static int getDiscoveryPort()
public static int getTtl()
public static boolean isMulticastEnabled()
public static boolean useSocketKeepAlive()
public static boolean useSocketTcpNoDelay()
public static String getHostAddress() throws UnknownHostException
java.net.InetAddress.getLocalHost().getHostAddress()
UnknownHostException
- if no IP address for the local
host could be found.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |