| Package | Description |
|---|---|
| org.klomp.snark |
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features.
|
| Modifier and Type | Method and Description |
|---|---|
PeerID |
Peer.getPeerID()
Returns the id of the peer.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Set<PeerID> |
PeerCoordinator.getPEXPeers()
Called by TrackerClient
|
| Modifier and Type | Method and Description |
|---|---|
int |
PeerID.compareTo(PeerID pid)
Deprecated.
unused? and will NPE now that address can be null?
|
(package private) I2PSocket |
I2PSnarkUtil.connect(PeerID peer)
Connect to the given destination
|
boolean |
PeerID.sameID(PeerID pid)
Returns true if and only if this peerID and the given peerID have the same destination hash
|
| Modifier and Type | Method and Description |
|---|---|
void |
PeerListener.gotPeers(Peer peer,
List<PeerID> pIDList)
Called when peers are received via PEX
|
void |
PeerCoordinator.gotPeers(Peer peer,
List<PeerID> peers)
Get peers from PEX - PeerListener callback
|
| Constructor and Description |
|---|
Peer(PeerID peerID,
byte[] my_id,
byte[] infohash,
MetaInfo metainfo)
Outgoing connection.
|
WebPeer(PeerCoordinator coord,
URI uri,
PeerID peerID,
MetaInfo metainfo)
Outgoing connection.
|