net.fenyo.gnetwatch.data
Class EventBytesReceived

java.lang.Object
  extended by net.fenyo.gnetwatch.data.EventGeneric
      extended by net.fenyo.gnetwatch.data.EventBytesExchanged
          extended by net.fenyo.gnetwatch.data.EventBytesReceived

public class EventBytesReceived
extends EventBytesExchanged

Events of type EventsBytesReceived store the amount of data received during the period between the last event and this one.

Version:
$Id: EventBytesReceived.java,v 1.8 2008/04/15 23:58:18 fenyo Exp $
Author:
Alexandre Fenyo

Field Summary
private static Log log
           
 
Constructor Summary
EventBytesReceived()
          Default constructor.
EventBytesReceived(long bytes_received)
          Constructor.
 
Method Summary
 long getBytesReceived()
          Returns the numeric value stored with this event.
 
Methods inherited from class net.fenyo.gnetwatch.data.EventBytesExchanged
getBytesExchanged, getIntValue, setBytesExchanged, setIntValue
 
Methods inherited from class net.fenyo.gnetwatch.data.EventGeneric
getDate, getEventList, getId, setDate, setEventList, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log
Constructor Detail

EventBytesReceived

public EventBytesReceived(long bytes_received)
Constructor.

Parameters:
bytes_received - bytes received during the period between the last event and this one.

EventBytesReceived

public EventBytesReceived()
Default constructor.

Parameters:
none. -
Method Detail

getBytesReceived

public long getBytesReceived()
Returns the numeric value stored with this event.

Parameters:
none. -
Returns:
long numeric value.