Enum Class NetworkTableEvent.Kind
- All Implemented Interfaces:
Serializable, Comparable<NetworkTableEvent.Kind>, Constable
- Enclosing class:
NetworkTableEvent
NetworkTable event kind.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClient connected (on server, any client connected).Any connection event (connect or disconnect).Client disconnected (on server, any client disconnected).Initial listener addition.Log message.Topic properties changed.New topic published.Time synchronized with server.Any topic event (publish, unpublish, or properties changed).Topic unpublished.Topic value updated (network or local).Topic value updated (local).Topic value updated (via network). -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Returns the NetworkTable event kind value.static NetworkTableEvent.KindReturns the enum constant of this class with the specified name.static NetworkTableEvent.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMMEDIATE
Initial listener addition. Set this to receive immediate notification of matches to other criteria. -
CONNECTED
Client connected (on server, any client connected). -
DISCONNECTED
Client disconnected (on server, any client disconnected). -
CONNECTION
Any connection event (connect or disconnect). -
PUBLISH
New topic published. -
UNPUBLISH
Topic unpublished. -
PROPERTIES
Topic properties changed. -
TOPIC
Any topic event (publish, unpublish, or properties changed). -
VALUE_REMOTE
Topic value updated (via network). -
VALUE_LOCAL
Topic value updated (local). -
VALUE_ALL
Topic value updated (network or local). -
LOG_MESSAGE
Log message. -
TIME_SYNC
Time synchronized with server.
-
-
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
-
getValue
Returns the NetworkTable event kind value.- Returns:
- The NetworkTable event kind value.
-