com.lightstreamer.ls_proxy
Class BandwidthEvent

java.lang.Object
  extended by com.lightstreamer.ls_proxy.BandwidthEvent

public class BandwidthEvent
extends java.lang.Object

Carries information about Lightstreamer Server connection activity.


Method Summary
 double getBandwidth()
          Gets an estimation of the current connection bandwidth usage.
 boolean isPushing()
          Gets the current push activity status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBandwidth

public double getBandwidth()
Gets an estimation of the current connection bandwidth usage.

Returns:
the current connection bandwidth, in Kbit/sec.

isPushing

public boolean isPushing()
Gets the current push activity status.

Returns:
true iif push activity is on.