|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AltLocValueFactory
Defines an interface to create alternative location values.
| Method Summary | |
|---|---|
AltLocValue |
createAltLocValueForSelf(long fileSize,
byte[] ttroot)
Creates an alternative location value for this node. |
AltLocValue |
createDHTValue(DHTValueType type,
Version version,
byte[] value)
Creates a DHTValue. |
AltLocValue |
createFromData(Version version,
byte[] data)
Creates an alternative location value. |
| Method Detail |
|---|
AltLocValue createDHTValue(DHTValueType type,
Version version,
byte[] value)
throws DHTValueException
DHTValueFactoryDHTValue.
createDHTValue in interface DHTValueFactory<AltLocValue>type - The type of the valueversion - The version of the valuevalue - The actual value
DHTValueException
AltLocValue createFromData(Version version,
byte[] data)
throws DHTValueException
DHTValueException
AltLocValue createAltLocValueForSelf(long fileSize,
byte[] ttroot)
fileSize - size of the filettroot - root hash of the TigerTree
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||