| |
|
| java.lang.Object java.lang.Thread CVS_Server.Network.ConnectionQueueProcessor
ConnectionQueueProcessor | public class ConnectionQueueProcessor extends Thread (Code) | | |
Method Summary | |
public synchronized void | addConnection(Socket socket) | public synchronized void | run() We lock onto this thread itself and wait in the
run method, therefore it must be synchronized. | public synchronized void | terminate() |
ConnectionQueueProcessor | public ConnectionQueueProcessor(CVSServer cvsServer)(Code) | | |
addConnection | public synchronized void addConnection(Socket socket)(Code) | | |
run | public synchronized void run()(Code) | | We lock onto this thread itself and wait in the
run method, therefore it must be synchronized.
When a new connection is added to the queue, we notify it.
|
terminate | public synchronized void terminate()(Code) | | |
|
|
|