FileDocCategorySizeDatePackage
DHTDB.javaAPI DocAzureus 3.0.3.42960Mon May 22 14:21:12 BST 2006com.aelitis.azureus.core.dht.db

DHTDB

public interface DHTDB
author
parg

Fields Summary
Constructors Summary
Methods Summary
public DHTDBValueget(org.gudy.azureus2.core3.util.HashWrapper key)
Internal lookup for locally originated values

param
key
return

public DHTDBLookupResultget(com.aelitis.azureus.core.dht.transport.DHTTransportContact reader, org.gudy.azureus2.core3.util.HashWrapper key, int max_values, byte flags, boolean external_request)

public com.aelitis.azureus.core.dht.DHTStorageBlock[]getDirectKeyBlocks()

public com.aelitis.azureus.core.dht.DHTStorageBlockgetKeyBlockDetails(byte[] key)

public java.util.IteratorgetKeys()
Returns an iterator over HashWrapper values denoting the snapshot of keys Thus by the time a key is used the entry may no longer exist

return

public DHTDBStatsgetStats()

public booleanisEmpty()

public booleanisKeyBlocked(byte[] key)

public com.aelitis.azureus.core.dht.DHTStorageBlockkeyBlockRequest(com.aelitis.azureus.core.dht.transport.DHTTransportContact direct_sender, byte[] request, byte[] signature)

public voidprint()

public DHTDBValueremove(com.aelitis.azureus.core.dht.transport.DHTTransportContact sender, org.gudy.azureus2.core3.util.HashWrapper key)
Local remove - returns a value suitable for putting in the DHT

param
sender
param
key
return

public voidsetControl(com.aelitis.azureus.core.dht.control.DHTControl control)

public DHTDBValuestore(org.gudy.azureus2.core3.util.HashWrapper key, byte[] value, byte flags)
Local store

param
key
param
value
param
flags
return

public bytestore(com.aelitis.azureus.core.dht.transport.DHTTransportContact sender, org.gudy.azureus2.core3.util.HashWrapper key, com.aelitis.azureus.core.dht.transport.DHTTransportValue[] values)
Remote store

param
sender
param
key
param
values
return
diversification state