Package edu.wpi.first.networktables
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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 TypeMethodDescriptionint
getValue()
Returns the NetworkTable event kind value.static NetworkTableEvent.Kind
Returns 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
-
kImmediate
Initial listener addition. Set this to receive immediate notification of matches to other criteria. -
kConnected
Client connected (on server, any client connected). -
kDisconnected
Client disconnected (on server, any client disconnected). -
kConnection
Any connection event (connect or disconnect). -
kPublish
New topic published. -
kUnpublish
Topic unpublished. -
kProperties
Topic properties changed. -
kTopic
Any topic event (publish, unpublish, or properties changed). -
kValueRemote
Topic value updated (via network). -
kValueLocal
Topic value updated (local). -
kValueAll
Topic value updated (network or local). -
kLogMessage
Log message. -
kTimeSync
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.
-