| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MainlineDHTProvider
The interface that a plugin (or a helper class) must implement to
 enable DHT support inside Azureus. By implementing this class, and
 then registering it via MainlineDHTManager.setProvider(MainlineDHTProvider),
 Azureus will indicate DHT support via the BT handshake, and exchange PORT
 messages with other clients - passing received messages to this class.
| Method Summary | |
|---|---|
 int | 
getDHTPort()
Returns the DHT port used by the plugin.  | 
 void | 
notifyOfIncomingPort(java.lang.String ip_addr,
                     int port)
This method is called by Azureus when a PORT message is received by a peer.  | 
| Method Detail | 
|---|
void notifyOfIncomingPort(java.lang.String ip_addr,
                          int port)
ip_addr - IP address of peer.port - DHT port of peer.int getDHTPort()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||