Package com.biglybt.core.dht.netcoords
Interface DHTNetworkPositionProvider
- All Known Implementing Classes:
VivaldiPositionProvider
public interface DHTNetworkPositionProvider
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(byte[] ID, boolean is_local) Returns a local, hopefully stable, network position for us or null if none availablebyte
void
void
void
-
Method Details
-
getPositionType
byte getPositionType() -
create
-
getLocalPosition
DHTNetworkPosition getLocalPosition()Returns a local, hopefully stable, network position for us or null if none available -
deserialisePosition
- Throws:
IOException
-
serialiseStats
- Throws:
IOException
-
startUp
-
shutDown
-