forked from I2P_Developers/i2p.i2p
javadocs
This commit is contained in:
@ -194,10 +194,10 @@ interface PeerListener
|
||||
*
|
||||
* @param peer the Peer that got the message.
|
||||
* @param port the query port
|
||||
* @param port the response port
|
||||
* @param rport the response port
|
||||
* @since 0.8.4
|
||||
*/
|
||||
void gotPort(Peer peer, int port, int qport);
|
||||
void gotPort(Peer peer, int port, int rport);
|
||||
|
||||
/**
|
||||
* Called when peers are received via PEX
|
||||
|
@ -98,7 +98,7 @@ class DHTNodes {
|
||||
|
||||
/**
|
||||
* DHT
|
||||
* @param sha1 either a InfoHash or a NID
|
||||
* @param h either a InfoHash or a NID
|
||||
*/
|
||||
public List<NodeInfo> findClosest(SHA1Hash h, int numWant) {
|
||||
NID key;
|
||||
|
@ -383,7 +383,7 @@ public class KRPC implements I2PSessionMuxedListener, DHT {
|
||||
* Non-blocking.
|
||||
*
|
||||
* @param ih the Info Hash (torrent)
|
||||
* @param peer the peer's Hash
|
||||
* @param peerHash the peer's Hash
|
||||
*/
|
||||
public void announce(byte[] ih, byte[] peerHash) {
|
||||
InfoHash iHash = new InfoHash(ih);
|
||||
|
Reference in New Issue
Block a user