public class AprEndpoint.Sendfile
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<AprEndpoint.SendfileData> |
addS |
protected long[] |
desc |
protected long |
pool |
protected int |
sendfileCount |
protected java.util.HashMap<java.lang.Long,AprEndpoint.SendfileData> |
sendfileData |
protected long |
sendfilePollset |
Constructor and Description |
---|
AprEndpoint.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 java.util.HashMap<java.lang.Long,AprEndpoint.SendfileData> sendfileData
protected int sendfileCount
protected java.util.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 removedpublic void run()
run
in interface java.lang.Runnable
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.