org.apache.tomcat.util.net
public class AprEndpoint.Poller extends Object implements Runnable
| Field Summary | |
|---|---|
| protected int | addCount |
| protected long[] | addS |
| protected boolean | comet |
| protected long[] | desc |
| protected int | keepAliveCount |
| protected long | pool |
| protected long | serverPollset |
| Constructor Summary | |
|---|---|
| Poller(boolean comet) | |
| Method Summary | |
|---|---|
| void | add(long socket)
Add specified socket and associated pool to the poller. |
| protected void | destroy()
Destroy the poller. |
| int | getKeepAliveCount() |
| protected void | init()
Create the poller. |
| void | run()
The background thread that listens for incoming TCP/IP connections and
hands them off to an appropriate processor. |
Parameters: socket to add to the poller