Package edu.wpi.first.networktables
Interface NetworkTable.TableEventListener
- Enclosing class:
- NetworkTable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface NetworkTable.TableEventListener
A listener that listens to events on topics in a
NetworkTable
.-
Method Summary
Modifier and Type Method Description void
accept(NetworkTable table, String key, NetworkTableEvent event)
Called when an event occurs on a topic in aNetworkTable
.
-
Method Details
-
accept
Called when an event occurs on a topic in aNetworkTable
.- Parameters:
table
- the table the topic exists inkey
- the key associated with the topic that changedevent
- the event
-