Files
i2p.itoopie/apps/i2pbote/src/i2p/bote/network/PeerManager.java
2009-11-16 07:28:14 +00:00

26 lines
608 B
Java

package i2p.bote.network;
import net.i2p.data.Destination;
public class PeerManager {
public PeerManager() {
}
/**
* Return a random active peer.
*
* The peers are managed independently of the Kademlia peers because they need to
* be uniformly distributed across the key space to prevent leaking information about
* the local destination key to nodes that could link it to the local email address.
* @return
*/
public Destination getRandomPeer() {
return null;
}
public int getNumPeers() {
// TODO
return 0;
}
}