Fields Summary |
---|
public static final String | PR_CONTACTS_PER_NODE |
public static final String | PR_NODE_SPLIT_FACTOR |
public static final String | PR_SEARCH_CONCURRENCY |
public static final String | PR_LOOKUP_CONCURRENCY |
public static final String | PR_MAX_REPLACEMENTS_PER_NODE |
public static final String | PR_CACHE_AT_CLOSEST_N |
public static final String | PR_ORIGINAL_REPUBLISH_INTERVAL |
public static final String | PR_CACHE_REPUBLISH_INTERVAL |
public static final byte | FLAG_SINGLE_VALUE |
public static final byte | FLAG_DOWNLOADING |
public static final byte | FLAG_SEEDING |
public static final byte | FLAG_MULTI_VALUE |
public static final byte | FLAG_STATS |
public static final int | MAX_VALUE_SIZE |
public static final byte | DT_NONE |
public static final byte | DT_FREQUENCY |
public static final byte | DT_SIZE |
public static final String[] | DT_STRINGS |
public static final int | NW_MAIN |
public static final int | NW_CVS |
public static final int | NW_MAIN_V6 |
Methods Summary |
---|
public void | destroy()
|
public void | exportState(java.io.DataOutputStream os, int max)externalises information that allows the DHT to be recreated at a later date
and populated via the import method
|
public void | get(byte[] key, java.lang.String description, byte flags, int max_values, long timeout, boolean exhaustive, boolean high_priority, DHTOperationListener listener)
|
public com.aelitis.azureus.core.dht.control.DHTControl | getControl()
|
public com.aelitis.azureus.core.dht.db.DHTDB | getDataBase()
|
public int | getIntProperty(java.lang.String name)
|
public com.aelitis.azureus.core.dht.transport.DHTTransportValue | getLocalValue(byte[] key)Returns value if originated from here for key
|
public DHTLogger | getLogger()
|
public com.aelitis.azureus.core.dht.nat.DHTNATPuncher | getNATPuncher()
|
public com.aelitis.azureus.core.dht.router.DHTRouter | getRouter()
|
public com.aelitis.azureus.core.dht.speed.DHTSpeedTester | getSpeedTester()
|
public DHTStorageAdapter | getStorageAdapter()
|
public com.aelitis.azureus.core.dht.transport.DHTTransport | getTransport()
|
public void | importState(java.io.DataInputStream is)populate the DHT with previously exported state
|
public void | integrate(boolean full_wait)Integrate the node into the DHT
Can be invoked more than once if additional state is imported
|
public boolean | isDiversified(byte[] key)
|
public void | print()
|
public void | put(byte[] key, java.lang.String description, byte[] value, byte flags, DHTOperationListener listener)
|
public byte[] | remove(byte[] key, java.lang.String description, DHTOperationListener listener)
|
public void | setLogging(boolean on)
|