Methods Summary |
---|
public long | getAnnounceCount()
return( announces );
|
public long | getBytesIn()
return( bytes_in );
|
public long | getBytesOut()
return( bytes_out );
|
public long | getScrapeCount()
return( scrapes );
|
public int | getTorrentCount()
return( server.getTorrentCount());
|
protected void | update(int request_type, int in, int out)
bytes_in += in;
bytes_out += out;
if ( request_type == TRTrackerServerRequest.RT_ANNOUNCE || request_type == TRTrackerServerRequest.RT_QUERY ){
announces++;
}else{
scrapes++;
}
|