private class SocketHubAppender.ServerMonitor extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
private boolean |
keepRunning |
private Thread |
monitorThread |
private Vector |
oosList |
private int |
port |
Constructor and Description |
---|
ServerMonitor(int _port,
Vector _oosList)
Create a thread and start the monitor.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Method that runs, monitoring the ServerSocket and adding connections as
they connect to the socket.
|
private void |
sendCachedEvents(ObjectOutputStream stream) |
void |
stopMonitor()
Stops the monitor.
|
private int port
private boolean keepRunning
private Thread monitorThread
public ServerMonitor(int _port, Vector _oosList)
public void stopMonitor()
private void sendCachedEvents(ObjectOutputStream stream) throws IOException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses