How to manually disconnect a peer from peergroup?
Simply:

peer.close();


Peer.java extends PeerSocketHandler.java, which is the class that defines the close() method, so maybe that's why you weren't seeing it. It would also probably be easier to find if it were called disconnect().