public class AprEndpoint.Sendfile extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected ArrayList<AprEndpoint.SendfileData> |
addS |
protected long[] |
desc |
protected long |
pool |
protected int |
sendfileCount |
protected HashMap<Long,AprEndpoint.SendfileData> |
sendfileData |
protected long |
sendfilePollset |
Constructor and Description |
---|
Sendfile() |
Modifier and Type | Method and Description |
---|---|
SendfileState |
add(AprEndpoint.SendfileData data)
Add the sendfile data to the sendfile poller.
|
protected void |
destroy()
Destroy the poller.
|
int |
getSendfileCount() |
protected void |
init()
Create the sendfile poller.
|
protected void |
remove(AprEndpoint.SendfileData data)
Remove socket from the poller.
|
void |
run()
The background thread that listens for incoming TCP/IP connections
and hands them off to an appropriate processor.
|
protected long sendfilePollset
protected long pool
protected long[] desc
protected HashMap<Long,AprEndpoint.SendfileData> sendfileData
protected int sendfileCount
protected ArrayList<AprEndpoint.SendfileData> addS
public int getSendfileCount()
protected void init()
protected void destroy()
public SendfileState add(AprEndpoint.SendfileData data)
data
- containing the reference to the data which should be snetprotected void remove(AprEndpoint.SendfileData data)
data
- the sendfile data which should be removedCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.