org.gudy.azureus2.pluginsimpl.local.dht.mainline
Class MainlineDHTManagerImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.dht.mainline.MainlineDHTManagerImpl
- All Implemented Interfaces:
- MainlineDHTManager
public class MainlineDHTManagerImpl
- extends Object
- implements MainlineDHTManager
- Author:
- Allan Crooks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainlineDHTManagerImpl
public MainlineDHTManagerImpl(AzureusCore core)
setProvider
public void setProvider(MainlineDHTProvider provider)
- Description copied from interface:
MainlineDHTManager
- Registers an object to be used for mainline DHT support. There is only one
slot available, so if multiple plugins attempt to register themselves,
only the last one will be used. If you pass null as an argument, it
will cause Azureus to disable support for mainline DHT.
- Specified by:
setProvider
in interface MainlineDHTManager
getProvider
public MainlineDHTProvider getProvider()
- Description copied from interface:
MainlineDHTManager
- Returns the current DHT provider, or null if there isn't one.
- Specified by:
getProvider
in interface MainlineDHTManager