Package com.biglybt.pif.tracker
Interface TrackerTorrentListener
-
public interface TrackerTorrentListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
postProcess(TrackerTorrentRequest request)
This is called to give the opportunity to post-process the reply being sent to a peer.void
preProcess(TrackerTorrentRequest request)
-
-
-
Method Detail
-
preProcess
void preProcess(TrackerTorrentRequest request) throws TrackerException
- Throws:
TrackerException
-
postProcess
void postProcess(TrackerTorrentRequest request) throws TrackerException
This is called to give the opportunity to post-process the reply being sent to a peer. If the reply is cached and reused this method *won't* be re-invoked. It is therefore not appropriate to insert peer-specific data unless caching is *switched off*- Parameters:
request
-- Throws:
TrackerException
-
-