org.gudy.azureus2.core3.tracker.server.impl
Class TRTrackerServerProcessor
java.lang.Object
org.gudy.azureus2.core3.util.AERunnable
org.gudy.azureus2.core3.util.ThreadPoolTask
org.gudy.azureus2.core3.tracker.server.impl.TRTrackerServerProcessor
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- TRTrackerServerProcessorTCP, TRTrackerServerProcessorUDP
public abstract class TRTrackerServerProcessor
- extends ThreadPoolTask
Method Summary |
protected void |
addScrapeInterval(long interval,
Map root)
|
protected void |
addScrapeInterval(TRTrackerServerTorrentImpl torrent,
Map root)
|
protected TRTrackerServerTorrentImpl |
processTrackerRequest(TRTrackerServerImpl _server,
String request,
Map[] root_out,
TRTrackerServerPeerImpl[] peer_out,
int _request_type,
byte[][] hashes,
String link,
String scrape_flags,
HashWrapper peer_id,
boolean no_peer_id,
byte compact_mode,
String key,
String event,
boolean stop_to_queue,
int port,
int udp_port,
int http_port,
String real_ip_address,
String original_client_ip_address,
long downloaded,
long uploaded,
long left,
int num_want,
byte crypto_level,
byte az_ver,
int up_speed,
DHTNetworkPosition network_position)
|
void |
taskCompleted()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRTrackerServerProcessor
public TRTrackerServerProcessor()
processTrackerRequest
protected TRTrackerServerTorrentImpl processTrackerRequest(TRTrackerServerImpl _server,
String request,
Map[] root_out,
TRTrackerServerPeerImpl[] peer_out,
int _request_type,
byte[][] hashes,
String link,
String scrape_flags,
HashWrapper peer_id,
boolean no_peer_id,
byte compact_mode,
String key,
String event,
boolean stop_to_queue,
int port,
int udp_port,
int http_port,
String real_ip_address,
String original_client_ip_address,
long downloaded,
long uploaded,
long left,
int num_want,
byte crypto_level,
byte az_ver,
int up_speed,
DHTNetworkPosition network_position)
throws TRTrackerServerException
- Throws:
TRTrackerServerException
addScrapeInterval
protected void addScrapeInterval(TRTrackerServerTorrentImpl torrent,
Map root)
addScrapeInterval
protected void addScrapeInterval(long interval,
Map root)
taskCompleted
public void taskCompleted()
- Overrides:
taskCompleted
in class ThreadPoolTask