Java Doc for EventBytesExchanged.java in » Net » GNetWatch » net » fenyo » gnetwatch » data » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Events of type EventsBytesExchanged store the amount of data exchanged
during the period between the last event and this one.
author: Alexandre Fenyo version: $Id: EventBytesExchanged.java,v 1.8 2007/03/03 00:38:20 fenyo Exp $
getBytesExchanged() 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.
Constructor Detail
EventBytesExchanged
public EventBytesExchanged(long bytes_exchanged)(Code)
Constructor.
Parameters: bytes_exchanged - bytes exchanged during the period between the last event and this one.