org.apache.tomcat.util.net
protected class AprEndpoint.Worker extends java.lang.Object implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
available |
protected boolean |
options |
protected long |
socket |
protected SocketStatus |
status |
protected java.lang.Thread |
thread |
| Modifier | Constructor and Description |
|---|---|
protected |
AprEndpoint.Worker() |
| Modifier and Type | Method and Description |
|---|---|
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
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.
|
protected java.lang.Thread thread
protected boolean available
protected long socket
protected SocketStatus status
protected boolean options
protected void assignWithOptions(long socket)
socket - TCP socket to processprotected void assign(long socket)
socket - TCP socket to processprotected 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()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.