Class MainlineDHTManagerImpl
java.lang.Object
com.biglybt.pifimpl.local.dht.mainline.MainlineDHTManagerImpl
- All Implemented Interfaces:
MainlineDHTManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current DHT provider, or null if there isn't one.void
setProvider
(MainlineDHTProvider provider) Registers an object to be used for mainline DHT support.
-
Field Details
-
core
-
-
Constructor Details
-
MainlineDHTManagerImpl
-
-
Method Details
-
setProvider
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 the client to disable support for mainline DHT.- Specified by:
setProvider
in interfaceMainlineDHTManager
-
getProvider
Description copied from interface:MainlineDHTManager
Returns the current DHT provider, or null if there isn't one.- Specified by:
getProvider
in interfaceMainlineDHTManager
-