|
||||||||||
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.SentMessageStat
This class contains a type-safe enumeration of statistics for individual Gnutella messages that have been sent to other nodes on the network. Each statistic maintains its own history, all messages sent over a specific number of time intervals, etc.
Field Summary | |
static Statistic |
ALL_FILTERED_MESSAGES
Statistic for all filtered messages. |
static Statistic |
ALL_MESSAGES
Statistic for all messages sent. |
static Statistic |
MULTICAST_ALL_MESSAGES
Statistic for all MULTICAST messages sent. |
static Statistic |
MULTICAST_FILTERED_MESSAGES
Statistic for Gnutella filtered messages sent over Multicast. |
static Statistic |
MULTICAST_PING_REPLIES
Statistic for Gnutella pongs sent over MULTICAST. |
static Statistic |
MULTICAST_PING_REQUESTS
Statistic for Gnutella pings sent over MULTICAST. |
static Statistic |
MULTICAST_PUSH_REQUESTS
Statistic for Gnutella push requests sent over Multicast. |
static Statistic |
MULTICAST_QUERY_REPLIES
Statistic for Gnutella query replies sent over Multicast. |
static Statistic |
MULTICAST_QUERY_REQUESTS
Statistic for Gnutella query requests sent over Multicast. |
static Statistic |
MULTICAST_ROUTE_TABLE_MESSAGES
Statistic for Gnutella route table messages sent over Multicast. |
static Statistic |
TCP_ALL_MESSAGES
Statistic for all TCP messages sent. |
static Statistic |
TCP_FILTERED_MESSAGES
Statistic for Gnutella filtered messages sent over TCP. |
static Statistic |
TCP_HOPS_FLOW
Statistic for Gnutella hops flow messages sent over TCP. |
static Statistic |
TCP_MESSAGES_SUPPORTED
Statistic for Gnutella meta-vendor messages sent over TCP. |
static Statistic |
TCP_PATCH_ROUTE_TABLE_MESSAGES
Statistic for Gnutella patch route table messages sent over TCP. |
static Statistic |
TCP_PING_REPLIES
Statistic for Gnutella pongs sent over TCP. |
static Statistic |
TCP_PING_REQUESTS
Statistic for Gnutella pings sent over TCP. |
static Statistic |
TCP_PUSH_REQUESTS
Statistic for Gnutella push requests sent over TCP. |
static Statistic |
TCP_QUERY_REPLIES
Statistic for Gnutella query replies sent over TCP. |
static Statistic |
TCP_QUERY_REQUESTS
Statistic for Gnutella query requests sent over TCP. |
static Statistic |
TCP_RESET_ROUTE_TABLE_MESSAGES
Statistic for Gnutella reset route table messages sent over TCP. |
static Statistic |
TCP_TCP_CONNECTBACK
Statistic for Gnutella TCP ConnectBack messages sent over TCP. |
static Statistic |
TCP_UDP_CONNECTBACK
Statistic for Gnutella UDP ConnectBack sent over TCP. |
static Statistic |
UDP_ALL_MESSAGES
Statistic for all UPD messages sent. |
static Statistic |
UDP_FILTERED_MESSAGES
Statistic for Gnutella filtered messages sent over UDP. |
static Statistic |
UDP_LIME_ACK
Statistic for Gnutella LimeACK VM sent over UDP. |
static Statistic |
UDP_PING_REPLIES
Statistic for Gnutella pongs sent over UDP. |
static Statistic |
UDP_PING_REQUESTS
Statistic for Gnutella pings sent over UDP. |
static Statistic |
UDP_PUSH_REQUESTS
Statistic for Gnutella push requests sent over UDP. |
static Statistic |
UDP_QUERY_REPLIES
Statistic for Gnutella query replies sent over UDP. |
static Statistic |
UDP_QUERY_REQUESTS
Statistic for Gnutella query requests sent over UDP. |
static Statistic |
UDP_REPLY_NUMBER
Statistic for Gnutella ReplyNumber VM sent over UDP. |
static Statistic |
UDP_ROUTE_TABLE_MESSAGES
Statistic for Gnutella route table messages sent over UDP. |
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_MESSAGES
public static final Statistic UDP_ALL_MESSAGES
public static final Statistic TCP_ALL_MESSAGES
public static final Statistic MULTICAST_ALL_MESSAGES
public static final Statistic ALL_FILTERED_MESSAGES
public static final Statistic UDP_PING_REQUESTS
public static final Statistic TCP_PING_REQUESTS
public static final Statistic MULTICAST_PING_REQUESTS
public static final Statistic UDP_PING_REPLIES
public static final Statistic TCP_PING_REPLIES
public static final Statistic MULTICAST_PING_REPLIES
public static final Statistic UDP_QUERY_REQUESTS
public static final Statistic TCP_QUERY_REQUESTS
public static final Statistic MULTICAST_QUERY_REQUESTS
public static final Statistic UDP_QUERY_REPLIES
public static final Statistic TCP_QUERY_REPLIES
public static final Statistic MULTICAST_QUERY_REPLIES
public static final Statistic UDP_PUSH_REQUESTS
public static final Statistic TCP_PUSH_REQUESTS
public static final Statistic MULTICAST_PUSH_REQUESTS
public static final Statistic UDP_ROUTE_TABLE_MESSAGES
public static final Statistic TCP_RESET_ROUTE_TABLE_MESSAGES
public static final Statistic TCP_PATCH_ROUTE_TABLE_MESSAGES
public static final Statistic MULTICAST_ROUTE_TABLE_MESSAGES
public static final Statistic UDP_FILTERED_MESSAGES
public static final Statistic TCP_FILTERED_MESSAGES
public static final Statistic MULTICAST_FILTERED_MESSAGES
public static final Statistic TCP_HOPS_FLOW
public static final Statistic TCP_MESSAGES_SUPPORTED
public static final Statistic TCP_TCP_CONNECTBACK
public static final Statistic TCP_UDP_CONNECTBACK
public static final Statistic UDP_REPLY_NUMBER
public static final Statistic UDP_LIME_ACK
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 |