Methods Summary |
---|
public void | addListener(DHTControlListener l)
|
public int | computeAndCompareDistances(byte[] n1, byte[] n2, byte[] pivot)
|
public void | exportState(java.io.DataOutputStream os, int max)
|
public void | get(byte[] key, java.lang.String description, byte flags, int max_values, long timeout, boolean exhaustive, boolean high_priority, com.aelitis.azureus.core.dht.DHTOperationListener listener)
|
public DHTControlActivity[] | getActivities()
|
public java.util.List | getClosestKContactsList(byte[] id, boolean live_only)
|
public java.util.List | getContacts()Returns a list of DHTContact objects
|
public com.aelitis.azureus.core.dht.db.DHTDB | getDataBase()
|
public DHTTransportValue | getLocalValue(byte[] key)
|
public com.aelitis.azureus.core.dht.router.DHTRouter | getRouter()
|
public DHTControlStats | getStats()
|
public DHTTransport | getTransport()
|
public void | importState(java.io.DataInputStream is)
|
public boolean | isDiversified(byte[] key)
|
public boolean | lookup(byte[] id, long timeout, com.aelitis.azureus.core.dht.DHTOperationListener listener)
|
public void | print()
|
public void | put(byte[] key, java.lang.String description, byte[] value, byte flags, com.aelitis.azureus.core.dht.DHTOperationListener listener)
|
public void | putDirectEncodedKeys(byte[][] keys, java.lang.String description, DHTTransportValue[][] value_sets, java.util.List contacts)
|
public void | putEncodedKey(byte[] key, java.lang.String description, DHTTransportValue value, long timeout, boolean original_mappings)
|
public byte[] | remove(byte[] key, java.lang.String description, com.aelitis.azureus.core.dht.DHTOperationListener listener)
|
public void | removeListener(DHTControlListener l)
|
public void | seed(boolean full_wait)
|
public java.util.List | sortContactsByDistance(java.util.List contacts)
|
public boolean | verifyContact(DHTTransportContact c, boolean direct)
|