|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.dht.db.AbstractPushProxiesValue
public abstract class AbstractPushProxiesValue
An implementation of DHTValue for Gnutella Push Proxies.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.limewire.mojito.db.DHTValue |
|---|
DHTValue.EmptyValue |
| Field Summary | |
|---|---|
static DHTValueType |
PUSH_PROXIES
DHTValueType for Push Proxies |
static Version |
VERSION
Version of PushProxiesDHTValue |
| Fields inherited from interface org.limewire.mojito.db.DHTValue |
|---|
EMPTY_VALUE |
| Constructor Summary | |
|---|---|
AbstractPushProxiesValue(Version version)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Value based comparison with other object. |
DHTValueType |
getValueType()
Returns the type of the value. |
Version |
getVersion()
Returns the version of the value. |
int |
hashCode()
|
protected static byte[] |
serialize(PushProxiesValue value)
A helper method to serialize PushProxiesValues |
int |
size()
Returns the size of the value payload in byte |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.limegroup.gnutella.dht.db.PushProxiesValue |
|---|
getFeatures, getFwtVersion, getGUID, getPort, getPushProxies, getTLSInfo |
| Methods inherited from interface org.limewire.mojito.db.DHTValue |
|---|
getValue, write |
| Field Detail |
|---|
public static final DHTValueType PUSH_PROXIES
public static final Version VERSION
| Constructor Detail |
|---|
public AbstractPushProxiesValue(Version version)
| Method Detail |
|---|
public DHTValueType getValueType()
DHTValue
getValueType in interface DHTValuepublic Version getVersion()
DHTValue
getVersion in interface DHTValuepublic int size()
DHTValue
size in interface DHTValuepublic final boolean equals(Object obj)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected static byte[] serialize(PushProxiesValue value)
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||