| java.lang.Object net.fenyo.gnetwatch.data.EventGeneric net.fenyo.gnetwatch.data.EventHTTPPages
EventHTTPPages | public class EventHTTPPages extends EventGeneric (Code) | | Events of type EventHTTP store the amount of pages/files received from a HTTP/FTP server
during the period between the last event and this one.
author: Alexandre Fenyo version: $Id: EventHTTPPages.java,v 1.1 2007/03/08 18:21:32 fenyo Exp $ |
Constructor Summary | |
public | EventHTTPPages(long pages_received) Constructor. |
Method Summary | |
public int | getIntValue(java.util.List<EventGeneric> events, int idx) Returns the throughput in pages/s at the moment of this event.
Parameters: events - every event. Parameters: idx - index of this event. | public long | getPagesReceived() Returns the numeric value stored with this event.
none. |
EventHTTPPages | public EventHTTPPages(long pages_received)(Code) | | Constructor.
Parameters: pages_received - pages received during the period between the last event and this one. |
getIntValue | public int getIntValue(java.util.List<EventGeneric> events, int idx)(Code) | | Returns the throughput in pages/s at the moment of this event.
Parameters: events - every event. Parameters: idx - index of this event. int throughput. |
getPagesReceived | public long getPagesReceived()(Code) | | Returns the numeric value stored with this event.
none. long numeric value. |
|
|