public enum DiscoveryMode extends Enum<DiscoveryMode>
DiscoveryMode describes how the
DiscoveryStrategy is going
to behave on discovery requests. Depending on the current environment it will
either be setup to run in client or server mode.
DiscoveryStrategys are free to change behavior as necessary.
One possible use case is to prevent to start a multicast service on clients when only
discovery is necessary.
Enum Constant Details
public static DiscoveryMode values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)