Now you can download a copy of these docs so you can use them offline! Download now
ServerIncomingStreamMonitor Class Reference

#include <ServerIncomingStreamMonitor.h>

Inheritance diagram for ServerIncomingStreamMonitor:
Collaboration diagram for ServerIncomingStreamMonitor:

Public Member Functions

 ServerIncomingStreamMonitor (IOStreamProvider &streamProvider, ServerNetworkTableEntryStore &entryStore, ServerIncomingConnectionListener &incomingListener, ServerAdapterManager &adapterListener, NetworkTableEntryTypeManager &typeManager, NTThreadManager &threadManager)
 
void start ()
 
void stop ()
 
void run ()
 
void close (ServerConnectionAdapter *Adapter)
 

Detailed Description

Thread that monitors for incoming connections

Author
Mitchell

Definition at line 32 of file ServerIncomingStreamMonitor.h.

Constructor & Destructor Documentation

ServerIncomingStreamMonitor::ServerIncomingStreamMonitor ( IOStreamProvider streamProvider,
ServerNetworkTableEntryStore entryStore,
ServerIncomingConnectionListener incomingListener,
ServerAdapterManager adapterListener,
NetworkTableEntryTypeManager typeManager,
NTThreadManager threadManager 
)

Create a new incoming stream monitor

Parameters
streamProviderthe stream provider to retrieve streams from
entryStorethe entry store for the server
transactionPooltransaction pool for the server
incomingListenerthe listener that is notified of new connections
adapterListenerthe listener that will listen to adapter events
threadManagerthe thread manager used to create the incoming thread and provided to the Connection Adapters

Definition at line 11 of file ServerIncomingStreamMonitor.cpp.

Member Function Documentation

void ServerIncomingStreamMonitor::run ( )
virtual

the method that will be called periodically on a thread

Exceptions
InterruptedExceptionthrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through)

Implements PeriodicRunnable.

Definition at line 48 of file ServerIncomingStreamMonitor.cpp.

void ServerIncomingStreamMonitor::start ( )

Start the monitor thread

Definition at line 27 of file ServerIncomingStreamMonitor.cpp.

void ServerIncomingStreamMonitor::stop ( )

Stop the monitor thread

Definition at line 36 of file ServerIncomingStreamMonitor.cpp.


The documentation for this class was generated from the following files:

Generated on Sat Apr 26 2014 12:26:47 for WPILibC++ by doxygen 1.8.6