Package edu.wpi.first.networktables
Class ConnectionNotification
java.lang.Object
edu.wpi.first.networktables.ConnectionNotification
public final class ConnectionNotification extends Object
NetworkTables Connection notification.
-
Field Summary
Fields Modifier and Type Field Description ConnectionInfo
conn
Connection information.boolean
connected
True if event is due to connection being established.int
listener
Listener that was triggered. -
Constructor Summary
Constructors Constructor Description ConnectionNotification(NetworkTableInstance inst, int listener, boolean connected, ConnectionInfo conn)
Constructor. -
Method Summary
Modifier and Type Method Description NetworkTableInstance
getInstance()
-
Field Details
-
Constructor Details
-
ConnectionNotification
public ConnectionNotification(NetworkTableInstance inst, int listener, boolean connected, ConnectionInfo conn)Constructor. This should generally only be used internally to NetworkTables.- Parameters:
inst
- Instancelistener
- Listener that was triggeredconnected
- Connected if trueconn
- Connection information
-
-
Method Details