Enum Class NoOpHostEventsSink
- All Implemented Interfaces:
HostEventsSink, Serializable, Comparable<NoOpHostEventsSink>, Constable
A no-op implementation of
HostEventsSink which discards all inputs.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface HostEventsSink
HostEventsSink.HostEventCallback -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidrecordIoException(String _serviceName, String _hostname, int _port) static NoOpHostEventsSinkReturns the enum constant of this class with the specified name.static NoOpHostEventsSink[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
record
- Specified by:
recordin interfaceHostEventsSink
-
recordIoException
- Specified by:
recordIoExceptionin interfaceHostEventsSink
-
callback
- Specified by:
callbackin interfaceHostEventsSink
-