Click or drag to resize

BandwidthListener Class

Listener that tracks bandwidth usage.
Inheritance Hierarchy

Namespace:  FastProxy.Listeners
Assembly:  FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
public class BandwidthListener : TransferredListener

The BandwidthListener type exposes the following members.

Constructors
  NameDescription
Public methodBandwidthListener
Initializes a new BandwidthListener.
Top
Properties
  NameDescription
Public propertyAverageDownstream
Gets the downstream bandwidth usage over the last second.
Public propertyAverageUpstream
Gets the upstream bandwidth usage over the last second.
Public propertyDownstream
Gets the number of downstream bytes transferred.
(Inherited from TransferredListener.)
Public propertyUpstream
Gets the number of upstream bytes transferred.
(Inherited from TransferredListener.)
Top
Methods
  NameDescription
Public methodClosed
Called when the connection has been closed.
(Inherited from DelegatingListener.)
Public methodDataReceived
Called when bytes have been received from either the server or the client.
(Inherited from TransferredListener.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DelegatingListener.)
Protected methodDispose(Boolean)
Called when the object is being disposed.
(Overrides DelegatingListenerDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also