public class Constants extends Object
Modifier and Type | Method and Description |
---|---|
static InetAddress |
getAnnouncementAddress()
Return the address of the multicast group over which the multicast announcement protocol
takes place.
|
static int |
getDiscoveryPort() |
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() |
public static InetAddress getRequestAddress() throws UnknownHostException
UnknownHostException
public static 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()
Copyright © GigaSpaces.