}
@Override
public void blockRequested(Torrent torrent, TorrentPieceBlock block,
TorrentPeer peer) {
final TorrentStorage storage = torrent.getController().getStorage();
try {
peer.sendBlock(block,
storage.read(torrent, block.getTorrentRange()));
} catch (IOException e) {
peer.disconnect();
return;
}
}