public class ConnectionMonitorThread extends java.lang.Object implements PeriodicRunnable
Constructor and Description |
---|
ConnectionMonitorThread(ConnectionAdapter adapter,
NetworkTableConnection connection)
create a new monitor thread
|
Modifier and Type | Method and Description |
---|---|
void |
run()
the method that will be called periodically on a thread
|
public ConnectionMonitorThread(ConnectionAdapter adapter, NetworkTableConnection connection)
adapter
- connection
- public void run() throws java.lang.InterruptedException
PeriodicRunnable
run
in interface PeriodicRunnable
java.lang.InterruptedException
- thrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through)