|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.statistics.AbstractStatistic
com.limegroup.gnutella.statistics.AdvancedStatistic
com.limegroup.gnutella.statistics.ReceivedErrorStat
This class contains a type-safe enumeration of statistics for errors in received messages.
Field Summary | |
static Statistic |
ALL_PING_REPLY_ERRORS
Statistic for all received ping reply errors. |
static Statistic |
ALL_PUSH_ERRORS
Statistic for all received push errors. |
static Statistic |
ALL_QUERY_ERRORS
Statistic for all received query errors. |
static Statistic |
ALL_QUERY_REPLY_ERRORS
Statistic for all received query reply errors. |
static Statistic |
ALL_RECEIVED_ERRORS
Statistic for all received errors. |
static Statistic |
ALL_VENDOR_ERRORS
Statistic for all received vendor errors. |
static Statistic |
CONNECTION_CLOSED
Statistic for failure due to connection closing. |
static Statistic |
HOPS_AND_TTL_OVER_HARD_MAX
Statistic for hops + ttl exceeding hard max. |
static Statistic |
HOPS_EXCEED_SOFT_MAX
Statistic for hops exceeding soft max. |
static Statistic |
INVALID_CODE
Statistic for an invalid function code. |
static Statistic |
INVALID_HOPS
Statistic for an invalid hops. |
static Statistic |
INVALID_LENGTH
Statistic for an invalid payload length. |
static Statistic |
INVALID_TTL
Statistic for an invalid TTL. |
static Statistic |
PING_REPLY_INVALID_ADDRESS
Statistic for failure due to an invalid ping reply address. |
static Statistic |
PING_REPLY_INVALID_GGEP
Statistic for failure due to an invalid ping reply ggep block. |
static Statistic |
PING_REPLY_INVALID_PAYLOAD
Statistic for failure due to an invalid ping reply payload. |
static Statistic |
PING_REPLY_INVALID_PORT
Statistic for failure due to an invalid ping reply port. |
static Statistic |
PING_REPLY_INVALID_VENDOR
Statistic for failure due to an invalid ping reply vendor length. |
static Statistic |
PUSH_INVALID_ADDRESS
Statistic for failure due to invalid address in a push. |
static Statistic |
PUSH_INVALID_PAYLOAD
Statistic for failure due to invalid payload in a push. |
static Statistic |
PUSH_INVALID_PORT
Statistic for failure due to invalid port in a push. |
static Statistic |
QUERY_EMPTY
Statistic for failure due to empty query. |
static Statistic |
QUERY_ILLEGAL_CHARS
Statistic for failure due to illegal characters. |
static Statistic |
QUERY_TOO_LARGE
Statistic for failure due to query length too large. |
static Statistic |
QUERY_URN
Statistic for failure due to URNs. |
static Statistic |
QUERY_XML_TOO_LARGE
Statistic for failure due to the XML query length. |
static Statistic |
REPLY_INVALID_ADDRESS
Statistic for failure due to invalid address in QueryReply. |
static Statistic |
REPLY_INVALID_PORT
Statistic for failure due to invalid port in QueryReply. |
static Statistic |
REPLY_INVALID_SPEED
Statistic for failure due to invalid speed in QueryReply. |
static Statistic |
VENDOR_INVALID_ID
Statistic for failure due to an invalid vendor id. |
static Statistic |
VENDOR_INVALID_PAYLOAD
Statistic for failure due an invalid payload. |
static Statistic |
VENDOR_INVALID_SELECTOR
Statistic for failure due to an invalid selector. |
static Statistic |
VENDOR_INVALID_VERSION
Statistic for failure due to an invalid version. |
static Statistic |
VENDOR_UNRECOGNIZED
Statistic for failure due an unrecognized vendor message. |
Fields inherited from class com.limegroup.gnutella.statistics.AbstractStatistic |
_buffer, _current, _fileName, _max, _total, _totalStatsRecorded, STATS_MANAGER |
Fields inherited from interface com.limegroup.gnutella.statistics.Statistic |
HISTORY_LENGTH |
Method Summary | |
void |
addData(int data)
Add the specified number to the current recording for this statistic. |
void |
incrementStat()
Increments this statistic by one. |
Methods inherited from class com.limegroup.gnutella.statistics.AbstractStatistic |
clearData, getAverage, getMax, getStatHistory, getTotal, initializeBuffer, setWriteStatToFile, storeCurrentStat |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Statistic ALL_RECEIVED_ERRORS
public static final Statistic ALL_QUERY_ERRORS
public static final Statistic ALL_QUERY_REPLY_ERRORS
public static final Statistic ALL_PUSH_ERRORS
public static final Statistic ALL_PING_REPLY_ERRORS
public static final Statistic ALL_VENDOR_ERRORS
public static final Statistic CONNECTION_CLOSED
public static final Statistic INVALID_LENGTH
public static final Statistic INVALID_HOPS
public static final Statistic INVALID_TTL
public static final Statistic HOPS_EXCEED_SOFT_MAX
public static final Statistic HOPS_AND_TTL_OVER_HARD_MAX
public static final Statistic INVALID_CODE
public static final Statistic QUERY_URN
public static final Statistic QUERY_TOO_LARGE
public static final Statistic QUERY_XML_TOO_LARGE
public static final Statistic QUERY_EMPTY
public static final Statistic QUERY_ILLEGAL_CHARS
public static final Statistic REPLY_INVALID_PORT
public static final Statistic REPLY_INVALID_ADDRESS
public static final Statistic REPLY_INVALID_SPEED
public static final Statistic PUSH_INVALID_PORT
public static final Statistic PUSH_INVALID_ADDRESS
public static final Statistic PUSH_INVALID_PAYLOAD
public static final Statistic PING_REPLY_INVALID_PAYLOAD
public static final Statistic PING_REPLY_INVALID_PORT
public static final Statistic PING_REPLY_INVALID_ADDRESS
public static final Statistic PING_REPLY_INVALID_GGEP
public static final Statistic PING_REPLY_INVALID_VENDOR
public static final Statistic VENDOR_INVALID_ID
public static final Statistic VENDOR_INVALID_SELECTOR
public static final Statistic VENDOR_INVALID_VERSION
public static final Statistic VENDOR_INVALID_PAYLOAD
public static final Statistic VENDOR_UNRECOGNIZED
Method Detail |
public void incrementStat()
Statistic
incrementStat
in interface Statistic
incrementStat
in class AbstractStatistic
public void addData(int data)
Statistic
addData
in interface Statistic
addData
in class AbstractStatistic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |