|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.net.AprEndpoint.Worker
Server processor class.
Field Summary | |
protected boolean |
available
|
protected boolean |
options
|
protected long |
socket
|
protected java.lang.Thread |
thread
|
Constructor Summary | |
protected |
AprEndpoint.Worker()
|
Method Summary | |
protected void |
assign(long socket,
boolean options)
Process an incoming TCP/IP connection on the specified socket. |
protected long |
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 long socket
protected boolean options
Constructor Detail |
protected AprEndpoint.Worker()
Method Detail |
protected void assign(long socket, boolean options)
socket
- TCP socket to processprotected long await()
null
if we are supposed to shut down.
public void run()
run
in interface java.lang.Runnable
public void start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |