|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.net.NioEndpoint.Worker
protected class NioEndpoint.Worker
Server processor class.
Field Summary | |
---|---|
protected boolean |
available
|
protected java.lang.Object |
socket
|
protected SocketStatus |
status
|
protected java.lang.Thread |
thread
|
Constructor Summary | |
---|---|
protected |
NioEndpoint.Worker()
|
Method Summary | |
---|---|
protected void |
assign(java.lang.Object socket)
Process an incoming TCP/IP connection on the specified socket. |
protected void |
assign(java.lang.Object socket,
SocketStatus status)
|
protected java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Thread thread
protected boolean available
protected java.lang.Object socket
protected SocketStatus status
Constructor Detail |
---|
protected NioEndpoint.Worker()
Method Detail |
---|
protected void assign(java.lang.Object socket)
socket
- TCP socket to processprotected void assign(java.lang.Object socket, SocketStatus status)
protected java.lang.Object await()
null
if we are supposed to shut down.
public void run()
run
in interface java.lang.Runnable
public void start()
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |