/** * Sets whether or not we are choking the peer. Defaults to true. When choke is false and the peer * requests some pieces we upload them, otherwise requests of this peer are ignored. */ public void setChoking(boolean choke) { PeerState s = state; if (s != null) s.setChoking(choke); }