Methods Summary |
---|
public TrackerPeer | getPeer()
TRHostPeer peer = req.getPeer();
if ( peer == null ){
return( null );
}
return( new TrackerPeerImpl( peer ));
|
public java.lang.String | getRequest()
return( req.getRequest());
|
public int | getRequestType()
if ( req.getRequestType() == TRHostTorrentRequest.RT_ANNOUNCE ){
return( RT_ANNOUNCE );
}else if ( req.getRequestType() == TRHostTorrentRequest.RT_SCRAPE ){
return( RT_SCRAPE );
}else{
return( RT_FULL_SCRAPE );
}
|
public java.util.Map | getResponse()
return( req.getResponse());
|
public TrackerTorrent | getTorrent()
TRHostTorrent torrent = req.getTorrent();
if ( torrent == null ){
return( null );
}
return( new TrackerTorrentImpl( torrent ));
|