public class ServerIncomingStreamMonitor extends java.lang.Object implements PeriodicRunnable
Constructor and Description |
---|
ServerIncomingStreamMonitor(IOStreamProvider streamProvider,
ServerNetworkTableEntryStore entryStore,
ServerIncomingConnectionListener incomingListener,
ServerAdapterManager adapterListener,
NetworkTableEntryTypeManager typeManager,
NTThreadManager threadManager)
Create a new incoming stream monitor
|
Modifier and Type | Method and Description |
---|---|
void |
run()
the method that will be called periodically on a thread
|
void |
start()
Start the monitor thread
|
void |
stop()
Stop the monitor thread
|
public ServerIncomingStreamMonitor(IOStreamProvider streamProvider, ServerNetworkTableEntryStore entryStore, ServerIncomingConnectionListener incomingListener, ServerAdapterManager adapterListener, NetworkTableEntryTypeManager typeManager, NTThreadManager threadManager)
streamProvider
- the stream provider to retrieve streams fromentryStore
- the entry store for the servertransactionPool
- transaction pool for the serverincomingListener
- the listener that is notified of new connectionsadapterListener
- the listener that will listen to adapter eventsthreadManager
- the thread manager used to create the incoming thread and provided to the Connection Adapterspublic void start()
public void stop()
public void run()
PeriodicRunnable
run
in interface PeriodicRunnable