Now you can download a copy of these docs so you can use them offline! Download now
#include <ConnectionMonitorThread.h>
Public Member Functions | |
ConnectionMonitorThread (ConnectionAdapter &adapter, NetworkTableConnection &connection) | |
const NetworkTableConnection * | GetNetworkTableConnection () const |
void | run () |
A periodic thread that repeatedly reads from a connection
Definition at line 26 of file ConnectionMonitorThread.h.
ConnectionMonitorThread::ConnectionMonitorThread | ( | ConnectionAdapter & | adapter, |
NetworkTableConnection & | connection | ||
) |
create a new monitor thread
adapter | |
connection |
Definition at line 12 of file ConnectionMonitorThread.cpp.
|
virtual |
the method that will be called periodically on a thread
InterruptedException | thrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through) |
Implements PeriodicRunnable.
Definition at line 16 of file ConnectionMonitorThread.cpp.