| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.net.AprEndpoint.Worker
protected class AprEndpoint.Worker
Server processor class.
| Field Summary | |
|---|---|
| protected  boolean | available | 
| protected  boolean | options | 
| protected  long | socket | 
| protected  SocketStatus | status | 
| protected  java.lang.Thread | thread | 
| Constructor Summary | |
|---|---|
| protected  | AprEndpoint.Worker() | 
| Method Summary | |
|---|---|
| protected  void | assign(long socket)Process an incoming TCP/IP connection on the specified socket. | 
| protected  void | assign(long socket,
       SocketStatus status) | 
| protected  void | assignWithOptions(long socket)Process an incoming TCP/IP connection on the specified socket. | 
| protected  long | await()Await a newly assigned Socket from our Connector, or nullif 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 SocketStatus status
protected boolean options
| Constructor Detail | 
|---|
protected AprEndpoint.Worker()
| Method Detail | 
|---|
protected void assignWithOptions(long socket)
socket - TCP socket to processprotected void assign(long socket)
socket - TCP socket to process
protected void assign(long socket,
                      SocketStatus status)
protected long await()
null
 if we are supposed to shut down.
public void run()
run in interface java.lang.Runnablepublic void start()
| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||