org.sblim.cimclient.internal.http
private static class HttpServerConnection.HttpConnectionDispatcher extends Thread
Constructor Summary | |
---|---|
HttpConnectionDispatcher(ThreadGroup pGroup, HttpConnectionHandler pHandler, ThreadPool pPool)
Ctor.
|
Method Summary | |
---|---|
void | close()
Closes the dispatcher |
void | dispatch(Socket pSocket)
Dispatches a connection
|
Socket | getConnection()
Gets the next pending connection
|
List | getConnectionPool()
Returns the connection pool
|
void | run() |
Parameters: pGroup The thread group to use for this thread and it's children pHandler The connection handler pPool The thread pool
Parameters: pSocket The socket of the connection
Returns: The socket of the connection
Returns: The connection pool