net.fenyo.gnetwatch.data
Class EventBytesSent

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

public class EventBytesSent
extends EventBytesExchanged

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

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

Field Summary
private static Log log
           
 
Constructor Summary
EventBytesSent()
          Default constructor.
EventBytesSent(long bytes_sent)
          Constructor.
 
Method Summary
 long getBytesSent()
          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

EventBytesSent

public EventBytesSent(long bytes_sent)
Constructor.

Parameters:
bytes_sent - bytes sent during the period between the last event and this one.

EventBytesSent

public EventBytesSent()
Default constructor.

Parameters:
none. -
Method Detail

getBytesSent

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

Parameters:
none. -
Returns:
long numeric value.