| java.lang.Object net.fenyo.gnetwatch.data.EventGeneric net.fenyo.gnetwatch.data.EventHTTP
EventHTTP | public class EventHTTP extends EventGeneric (Code) | | Events of type EventHTTP store the amount of data received from a HTTP/FTP server
during the period between the last event and this one.
author: Alexandre Fenyo version: $Id: EventHTTP.java,v 1.1 2007/03/08 18:21:32 fenyo Exp $ |
Constructor Summary | |
public | EventHTTP(long bytes_received) Constructor. |
Method Summary | |
public long | getBytesReceived() 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. |
EventHTTP | public EventHTTP(long bytes_received)(Code) | | Constructor.
Parameters: bytes_received - bytes received during the period between the last event and this one. |
getBytesReceived | public long getBytesReceived()(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. |
|
|