Initial checkin of apps/i2pbote/**

This commit is contained in:
HungryHobo
2009-11-16 07:28:14 +00:00
parent 5b139f9246
commit 43b437fc58
121 changed files with 7546 additions and 0 deletions

View File

@ -0,0 +1,26 @@
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;
}
}