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:
- java.lang.Runnable
- Direct Known Subclasses:
- TRTrackerServerProcessorTCP, TRTrackerServerProcessorUDP
public abstract class TRTrackerServerProcessor
- extends ThreadPoolTask
Method Summary |
protected void |
addScrapeInterval(long interval,
java.util.Map root)
|
protected void |
addScrapeInterval(TRTrackerServerTorrentImpl torrent,
java.util.Map root)
|
protected TRTrackerServerTorrentImpl |
processTrackerRequest(TRTrackerServerImpl _server,
java.lang.String request,
java.util.Map[] root_out,
TRTrackerServerPeerImpl[] peer_out,
int _request_type,
byte[][] hashes,
java.lang.String link,
java.lang.String scrape_flags,
HashWrapper peer_id,
boolean no_peer_id,
byte compact_mode,
java.lang.String key,
java.lang.String event,
boolean stop_to_queue,
int port,
int udp_port,
int http_port,
java.lang.String real_ip_address,
java.lang.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,
java.lang.String request,
java.util.Map[] root_out,
TRTrackerServerPeerImpl[] peer_out,
int _request_type,
byte[][] hashes,
java.lang.String link,
java.lang.String scrape_flags,
HashWrapper peer_id,
boolean no_peer_id,
byte compact_mode,
java.lang.String key,
java.lang.String event,
boolean stop_to_queue,
int port,
int udp_port,
int http_port,
java.lang.String real_ip_address,
java.lang.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,
java.util.Map root)
addScrapeInterval
protected void addScrapeInterval(long interval,
java.util.Map root)
taskCompleted
public void taskCompleted()
- Overrides:
taskCompleted
in class ThreadPoolTask