Methods Summary |
---|
public void | bytesDiscarded(int num_bytes)The given number of bytes received from the peer were discarded.
|
public void | dataBytesReceived(int num_bytes)The given number of data (payload) bytes have been received from the peer.
|
public void | dataBytesSent(int num_bytes)The given number of data (payload) bytes have been sent to the peer.
|
public void | diskReadComplete(long bytes)Disk access stats methods
|
public int | getAggregatedDiskReadCount()
|
public long | getDataReceiveRate()Get the the average bytes-per-second speed that we are receiving piece data from the peer.
|
public long | getDataSendRate()Get the the average bytes-per-second speed that we are sending piece data to the peer.
|
public int | getDownloadRateLimitBytesPerSecond()
|
public long | getEstimatedDownloadRateOfPeer()Get the estimated total download rate of the peer.
|
public long | getEstimatedUploadRateOfPeer()Get the estimated total upload rate of the peer.
|
public PEPeer | getPeer()
|
public long | getProtocolReceiveRate()Get the the average bytes-per-second speed that we are receiving protocol messages from the peer.
|
public long | getProtocolSendRate()Get the the average bytes-per-second speed that we are sending protocol messages to the peer.
|
public long | getSmoothDataReceiveRate()Get the the longer-average bytes-per-second speed at which the peer is uploading data to us.
|
public long | getTotalBytesDiscarded()Get the total number of discarded bytes received from the peer.
|
public long | getTotalBytesDownloadedByPeer()Get the number of bytes downloaded in total by this peer
(includes data downloaded from all other peers).
|
public long | getTotalDataBytesReceived()Get the total number of data (payload) bytes received from the peer.
|
public long | getTotalDataBytesSent()Get the total number of data (payload) bytes sent to the peer.
|
public long | getTotalDiskReadBytes()
|
public int | getTotalDiskReadCount()
|
public long | getTotalProtocolBytesReceived()Get the total number of protocol (overhead) bytes received from the peer.
|
public long | getTotalProtocolBytesSent()Get the total number of protocol (overhead) bytes sent to the peer.
|
public int | getUploadRateLimitBytesPerSecond()
|
public void | hasNewPiece(int piece_size)The peer has completed a piece of the given byte size.
|
public void | protocolBytesReceived(int num_bytes)The given number of protocol (overhead) bytes have been received from the peer.
|
public void | protocolBytesSent(int num_bytes)The given number of protocol (overhead) bytes have been sent to the peer.
|
public void | setDownloadRateLimitBytesPerSecond(int bytes)
|
public void | setUploadRateLimitBytesPerSecond(int bytes)
|
public void | statisticalSentPiece(int piece_size)The peer has statistically sent a piecce of the given byte size.
|