org.gudy.azureus2.core3.tracker.server.impl.tcp
Class TRTrackerServerProcessorTCP
java.lang.Object
org.gudy.azureus2.core3.util.AERunnable
org.gudy.azureus2.core3.util.ThreadPoolTask
org.gudy.azureus2.core3.tracker.server.impl.TRTrackerServerProcessor
org.gudy.azureus2.core3.tracker.server.impl.tcp.TRTrackerServerProcessorTCP
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- TRBlockingServerProcessor, TRNonBlockingServerProcessor
public abstract class TRTrackerServerProcessorTCP
- extends TRTrackerServerProcessor
Method Summary |
boolean |
areTimeoutsDisabled()
|
protected String |
doAuthentication(InetSocketAddress remote_ip,
String url_path,
String header,
OutputStream os,
boolean tracker)
|
protected TRTrackerServerTCP |
getServer()
|
protected boolean |
handleExternalRequest(InetSocketAddress local_address,
InetSocketAddress remote_address,
String user,
String url,
String header,
InputStream is,
OutputStream os,
AsyncController async,
boolean[] keep_alive)
|
protected boolean |
isActive()
|
protected boolean |
processRequest(String input_header,
String lowercase_input_header,
String url_path,
InetSocketAddress local_address,
InetSocketAddress remote_address,
boolean announce_and_scrape_only,
boolean keep_alive,
InputStream is,
OutputStream os,
AsyncController async)
|
void |
setTimeoutsDisabled(boolean d)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOCKET_TIMEOUT
protected static final int SOCKET_TIMEOUT
- See Also:
- Constant Field Values
CR
protected static final char CR
- See Also:
- Constant Field Values
FF
protected static final char FF
- See Also:
- Constant Field Values
NL
protected static final String NL
- See Also:
- Constant Field Values
HTTP_RESPONSE_START
protected static final byte[] HTTP_RESPONSE_START
HTTP_RESPONSE_XML_START
protected static final byte[] HTTP_RESPONSE_XML_START
HTTP_RESPONSE_END_GZIP
protected static final byte[] HTTP_RESPONSE_END_GZIP
HTTP_RESPONSE_END_NOGZIP
protected static final byte[] HTTP_RESPONSE_END_NOGZIP
TRTrackerServerProcessorTCP
protected TRTrackerServerProcessorTCP(TRTrackerServerTCP _server)
areTimeoutsDisabled
public boolean areTimeoutsDisabled()
setTimeoutsDisabled
public void setTimeoutsDisabled(boolean d)
getServer
protected TRTrackerServerTCP getServer()
processRequest
protected boolean processRequest(String input_header,
String lowercase_input_header,
String url_path,
InetSocketAddress local_address,
InetSocketAddress remote_address,
boolean announce_and_scrape_only,
boolean keep_alive,
InputStream is,
OutputStream os,
AsyncController async)
throws IOException
- Throws:
IOException
doAuthentication
protected String doAuthentication(InetSocketAddress remote_ip,
String url_path,
String header,
OutputStream os,
boolean tracker)
throws IOException
- Throws:
IOException
isActive
protected boolean isActive()
handleExternalRequest
protected boolean handleExternalRequest(InetSocketAddress local_address,
InetSocketAddress remote_address,
String user,
String url,
String header,
InputStream is,
OutputStream os,
AsyncController async,
boolean[] keep_alive)
throws IOException
- Throws:
IOException