org.gudy.azureus2.core3.tracker.server.impl
Class TRTrackerServerProcessor

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AERunnable
      extended by org.gudy.azureus2.core3.util.ThreadPoolTask
          extended by org.gudy.azureus2.core3.tracker.server.impl.TRTrackerServerProcessor
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TRTrackerServerProcessorTCP, TRTrackerServerProcessorUDP

public abstract class TRTrackerServerProcessor
extends ThreadPoolTask


Nested Class Summary
protected static class TRTrackerServerProcessor.lightweightPeer
           
 
Field Summary
 
Fields inherited from class org.gudy.azureus2.core3.util.ThreadPoolTask
worker
 
Constructor Summary
TRTrackerServerProcessor()
           
 
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 org.gudy.azureus2.core3.util.ThreadPoolTask
getName, getTaskState, interruptTask, releaseToPool, setTaskState, taskStarted
 
Methods inherited from class org.gudy.azureus2.core3.util.AERunnable
run, runSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRTrackerServerProcessor

public TRTrackerServerProcessor()
Method Detail

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