"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.connection
Class ConnectionMonitorThread

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.connection.ConnectionMonitorThread
All Implemented Interfaces:
PeriodicRunnable

public class ConnectionMonitorThread
extends Object
implements PeriodicRunnable

A periodic thread that repeatedly reads from a connection

Author:
Mitchell

Constructor Summary
ConnectionMonitorThread(ConnectionAdapter adapter, NetworkTableConnection connection)
          create a new monitor thread
 
Method Summary
 void run()
          the method that will be called periodically on a thread
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionMonitorThread

public ConnectionMonitorThread(ConnectionAdapter adapter,
                               NetworkTableConnection connection)
create a new monitor thread

Parameters:
adapter -
connection -
Method Detail

run

public void run()
         throws InterruptedException
Description copied from interface: PeriodicRunnable
the method that will be called periodically on a thread

Specified by:
run in interface PeriodicRunnable
Throws:
InterruptedException - thrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through)

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"