| java.lang.Object net.fenyo.gnetwatch.data.EventGeneric net.fenyo.gnetwatch.data.EventFlood
EventFlood | public class EventFlood extends EventGeneric (Code) | | Events of type EventFlood store the amount of data flooded to a target
during the period between the last event and this one.
author: Alexandre Fenyo version: $Id: EventFlood.java,v 1.7 2007/03/08 18:21:32 fenyo Exp $ |
Constructor Summary | |
public | EventFlood(long bytes_sent) Constructor. |
Method Summary | |
public long | getBytesSent() Returns the numeric value stored with this event.
none. | public int | getIntValue(java.util.List<EventGeneric> events, int idx) Returns the throughput in bit/s at the moment of this event.
Parameters: events - every event. Parameters: idx - index of this event. |
EventFlood | public EventFlood(long bytes_sent)(Code) | | Constructor.
Parameters: bytes_sent - bytes flooded during the period between the last event and this one. |
getBytesSent | public long getBytesSent()(Code) | | Returns the numeric value stored with this event.
none. long numeric value. |
getIntValue | public int getIntValue(java.util.List<EventGeneric> events, int idx)(Code) | | Returns the throughput in bit/s at the moment of this event.
Parameters: events - every event. Parameters: idx - index of this event. int throughput. |
|
|