public class Constants extends Object
Modifier and Type | Field and Description |
---|---|
private static InetAddress |
announcementAddress
The address of the multicast group over which the multicast
announcement protocol takes place.
|
static short |
discoveryPort
The port for both unicast and multicast boot requests.
|
private static InetAddress |
requestAddress
The address of the multicast group over which the multicast
request protocol takes place.
|
Modifier | Constructor and Description |
---|---|
private |
Constants()
This class cannot be instantiated.
|
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.
|
private static InetAddress requestAddress
private static InetAddress announcementAddress
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.