|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AltLocValue
Defines an interface of an alternative location DHT value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.limewire.mojito.db.DHTValue |
|---|
DHTValue.EmptyValue |
| Field Summary |
|---|
| Fields inherited from interface org.limewire.mojito.db.DHTValue |
|---|
EMPTY_VALUE |
| Method Summary | |
|---|---|
long |
getFileSize()
The length of the file |
byte[] |
getGUID()
The GUID of the AltLoc |
int |
getPort()
The (Gnutella) Port of the AltLoc |
byte[] |
getRootHash()
The TigerTree root hash |
DHTValueType |
getValueType()
Returns the type of the value. |
Version |
getVersion()
Returns the version of the value. |
boolean |
isFirewalled()
Returns true if the AltLoc is firewalled |
int |
size()
Returns the size of the value payload in byte |
boolean |
supportsTLS()
|
| Methods inherited from interface org.limewire.mojito.db.DHTValue |
|---|
getValue, write |
| Method Detail |
|---|
Version getVersion()
DHTValue
getVersion in interface DHTValueDHTValueType getValueType()
DHTValue
getValueType in interface DHTValueint size()
DHTValue
size in interface DHTValuebyte[] getGUID()
int getPort()
long getFileSize()
byte[] getRootHash()
boolean isFirewalled()
boolean supportsTLS()
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||