| java.lang.Object com.quadcap.net.server.Acceptor
Acceptor | public class Acceptor implements Runnable(Code) | | Implements the main socket listening thread: we first obtain a block
of idle workers (currently 4, should be configurable though.)
then accept connections and pass them out until we need more workers.
author: Stan Bailes |
Constructor Summary | |
public | Acceptor(Server server, int port, int queueDepth) |
Method Summary | |
public void | run() | public void | runxxx() | public void | stop() |
WCNT | final static int WCNT(Code) | | |
terminate | boolean terminate(Code) | | |
runxxx | public void runxxx()(Code) | | |
|
|