org.apache.tomcat.util.net
protected class NioEndpoint.Worker extends Object implements Runnable
Field Summary | |
---|---|
protected boolean | available |
protected Object | socket |
protected SocketStatus | status |
protected Thread | thread |
Method Summary | |
---|---|
protected void | assign(Object socket)
Process an incoming TCP/IP connection on the specified socket. |
protected void | assign(Object socket, SocketStatus status) |
protected Object | await()
Await a newly assigned Socket from our Connector, or null
if we are supposed to shut down. |
void | run()
The background thread that listens for incoming TCP/IP connections and
hands them off to an appropriate processor. |
void | start()
Start the background processing thread. |
Parameters: socket TCP socket to process
null
if we are supposed to shut down.