Package edu.wpi.first.networktables
Enum NetworkTableEvent.Kind
- All Implemented Interfaces:
Serializable
,Comparable<NetworkTableEvent.Kind>
,java.lang.constant.Constable
- Enclosing class:
- NetworkTableEvent
public static enum NetworkTableEvent.Kind extends Enum<NetworkTableEvent.Kind>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description kConnected
Client connected (on server, any client connected).kConnection
Any connection event (connect or disconnect).kDisconnected
Client disconnected (on server, any client disconnected).kImmediate
Initial listener addition.kLogMessage
Log message.kProperties
Topic properties changed.kPublish
New topic published.kTopic
Any topic event (publish, unpublish, or properties changed).kUnpublish
Topic unpublished.kValueAll
Topic value updated (network or local).kValueLocal
Topic value updated (local).kValueRemote
Topic value updated (via network). -
Method Summary
Modifier and Type Method Description int
getValue()
static NetworkTableEvent.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static NetworkTableEvent.Kind[]
values()
Returns an array containing the constants of this enum type, 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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-