code: @Override
    public void handlePeerReady(SharingPeer peer) {
      initIfNecessary(peer);
  
      RequestsCollection requestsCollection = getRequestsCollection(peer);
      requestsCollection.sendAllRequests();
    }
docs: Peer ready handler.
  <p/>
  <p>
  When a peer becomes ready to accept piece block requests, select a piece
  to download and go for it.
  </p>
  
  @param peer The peer that became ready.