}
private void reconfigure() {
if (torrent == null)
return;
final TorrentTrafficControl traffic = torrent.getTrafficControl();
long readLimit = traffic.getDownloadSpeedLimit();
long writeLimit = traffic.getUploadSpeedLimit();
if (readLimit != this.readLimit || writeLimit != this.writeLimit) {
this.writeLimit = writeLimit;
this.readLimit = readLimit;
configure(writeLimit, readLimit);
}