"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.server
Class ServerIncomingStreamMonitor

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

public class ServerIncomingStreamMonitor
extends Object
implements PeriodicRunnable

Thread that monitors for incoming connections

Author:
Mitchell

Constructor Summary
ServerIncomingStreamMonitor(IOStreamProvider streamProvider, ServerNetworkTableEntryStore entryStore, ServerIncomingConnectionListener incomingListener, ServerAdapterManager adapterListener, NetworkTableEntryTypeManager typeManager, NTThreadManager threadManager)
          Create a new incoming stream monitor
 
Method Summary
 void run()
          the method that will be called periodically on a thread
 void start()
          Start the monitor thread
 void stop()
          Stop the monitor thread
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerIncomingStreamMonitor

public ServerIncomingStreamMonitor(IOStreamProvider streamProvider,
                                   ServerNetworkTableEntryStore entryStore,
                                   ServerIncomingConnectionListener incomingListener,
                                   ServerAdapterManager adapterListener,
                                   NetworkTableEntryTypeManager typeManager,
                                   NTThreadManager threadManager)
Create a new incoming stream monitor

Parameters:
streamProvider - the stream provider to retrieve streams from
entryStore - the entry store for the server
transactionPool - transaction pool for the server
incomingListener - the listener that is notified of new connections
adapterListener - the listener that will listen to adapter events
threadManager - the thread manager used to create the incoming thread and provided to the Connection Adapters
Method Detail

start

public void start()
Start the monitor thread


stop

public void stop()
Stop the monitor thread


run

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

Specified by:
run in interface PeriodicRunnable

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"