public class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static short |
discoveryPort
The port for both unicast and multicast boot requests.
|
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 InetAddress |
getRequestAddress()
Return the address of the multicast group over which the
multicast request protocol takes place.
|
public static final short discoveryPort
public static final InetAddress getRequestAddress() throws UnknownHostException
UnknownHostException
public static final InetAddress getAnnouncementAddress() throws UnknownHostException
UnknownHostException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.