Now you can download a copy of these docs so you can use them offline! Download now
#include <ServerIncomingStreamMonitor.h>
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) |
Thread that monitors for incoming connections
Definition at line 32 of file ServerIncomingStreamMonitor.h.
ServerIncomingStreamMonitor::ServerIncomingStreamMonitor | ( | IOStreamProvider & | streamProvider, |
ServerNetworkTableEntryStore & | entryStore, | ||
ServerIncomingConnectionListener & | incomingListener, | ||
ServerAdapterManager & | adapterListener, | ||
NetworkTableEntryTypeManager & | typeManager, | ||
NTThreadManager & | threadManager | ||
) |
Create a new incoming stream monitor
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 |
Definition at line 11 of file ServerIncomingStreamMonitor.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 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.