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.voidsetProvider(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:MainlineDHTManagerRegisters 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:
setProviderin interfaceMainlineDHTManager
-
getProvider
Description copied from interface:MainlineDHTManagerReturns the current DHT provider, or null if there isn't one.- Specified by:
getProviderin interfaceMainlineDHTManager
-