com.limegroup.gnutella.statistics
Class DroppedSentMessageStatBytes

java.lang.Object
  extended bycom.limegroup.gnutella.statistics.AbstractStatistic
      extended bycom.limegroup.gnutella.statistics.AbstractKilobytesStatistic
          extended bycom.limegroup.gnutella.statistics.AdvancedKilobytesStatistic
              extended bycom.limegroup.gnutella.statistics.DroppedSentMessageStatBytes
All Implemented Interfaces:
Statistic

public class DroppedSentMessageStatBytes
extends com.limegroup.gnutella.statistics.AdvancedKilobytesStatistic

This class contains a type-safe enumeration of statistics for individual Gnutella messages that have been sent from 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_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_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 UDP_ALL_MESSAGES
          Statistic for all UPD messages sent.
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_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.AbstractKilobytesStatistic
getAverage, getMax, getTotal
 
Methods inherited from class com.limegroup.gnutella.statistics.AbstractStatistic
clearData, getStatHistory, initializeBuffer, setWriteStatToFile, storeCurrentStat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_MESSAGES

public static final Statistic ALL_MESSAGES
Statistic for all messages sent.


UDP_ALL_MESSAGES

public static final Statistic UDP_ALL_MESSAGES
Statistic for all UPD messages sent.


TCP_ALL_MESSAGES

public static final Statistic TCP_ALL_MESSAGES
Statistic for all TCP messages sent.


MULTICAST_ALL_MESSAGES

public static final Statistic MULTICAST_ALL_MESSAGES
Statistic for all MULTICAST messages sent.


ALL_FILTERED_MESSAGES

public static final Statistic ALL_FILTERED_MESSAGES
Statistic for all filtered messages.


UDP_PING_REQUESTS

public static final Statistic UDP_PING_REQUESTS
Statistic for Gnutella pings sent over UDP.


TCP_PING_REQUESTS

public static final Statistic TCP_PING_REQUESTS
Statistic for Gnutella pings sent over TCP.


MULTICAST_PING_REQUESTS

public static final Statistic MULTICAST_PING_REQUESTS
Statistic for Gnutella pings sent over MULTICAST.


UDP_PING_REPLIES

public static final Statistic UDP_PING_REPLIES
Statistic for Gnutella pongs sent over UDP.


TCP_PING_REPLIES

public static final Statistic TCP_PING_REPLIES
Statistic for Gnutella pongs sent over TCP.


MULTICAST_PING_REPLIES

public static final Statistic MULTICAST_PING_REPLIES
Statistic for Gnutella pongs sent over MULTICAST.


UDP_QUERY_REQUESTS

public static final Statistic UDP_QUERY_REQUESTS
Statistic for Gnutella query requests sent over UDP.


TCP_QUERY_REQUESTS

public static final Statistic TCP_QUERY_REQUESTS
Statistic for Gnutella query requests sent over TCP.


MULTICAST_QUERY_REQUESTS

public static final Statistic MULTICAST_QUERY_REQUESTS
Statistic for Gnutella query requests sent over Multicast.


UDP_QUERY_REPLIES

public static final Statistic UDP_QUERY_REPLIES
Statistic for Gnutella query replies sent over UDP.


TCP_QUERY_REPLIES

public static final Statistic TCP_QUERY_REPLIES
Statistic for Gnutella query replies sent over TCP.


MULTICAST_QUERY_REPLIES

public static final Statistic MULTICAST_QUERY_REPLIES
Statistic for Gnutella query replies sent over Multicast.


UDP_PUSH_REQUESTS

public static final Statistic UDP_PUSH_REQUESTS
Statistic for Gnutella push requests sent over UDP.


TCP_PUSH_REQUESTS

public static final Statistic TCP_PUSH_REQUESTS
Statistic for Gnutella push requests sent over TCP.


MULTICAST_PUSH_REQUESTS

public static final Statistic MULTICAST_PUSH_REQUESTS
Statistic for Gnutella push requests sent over Multicast.


UDP_ROUTE_TABLE_MESSAGES

public static final Statistic UDP_ROUTE_TABLE_MESSAGES
Statistic for Gnutella route table messages sent over UDP.


TCP_RESET_ROUTE_TABLE_MESSAGES

public static final Statistic TCP_RESET_ROUTE_TABLE_MESSAGES
Statistic for Gnutella reset route table messages sent over TCP.


TCP_PATCH_ROUTE_TABLE_MESSAGES

public static final Statistic TCP_PATCH_ROUTE_TABLE_MESSAGES
Statistic for Gnutella patch route table messages sent over TCP.


MULTICAST_ROUTE_TABLE_MESSAGES

public static final Statistic MULTICAST_ROUTE_TABLE_MESSAGES
Statistic for Gnutella route table messages sent over Multicast.

Method Detail

incrementStat

public void incrementStat()
Description copied from interface: Statistic
Increments this statistic by one.

Specified by:
incrementStat in interface Statistic
Overrides:
incrementStat in class AbstractStatistic

addData

public void addData(int data)
Description copied from interface: Statistic
Add the specified number to the current recording for this statistic. This is the equivalent of calling incrementStat data times.

Specified by:
addData in interface Statistic
Overrides:
addData in class AbstractStatistic