LimitedBandwidth Class Reference

Inheritance diagram for LimitedBandwidth:

NonblockingSink NonblockingSource NetworkSink NetworkSource SocketSink WindowsPipeSink SocketSource WindowsPipeSource List of all members.

Detailed Description

Definition at line 15 of file network.h.

Public Member Functions

 LimitedBandwidth (lword maxBytesPerSecond=0)
lword GetMaxBytesPerSecond () const
void SetMaxBytesPerSecond (lword v)
lword ComputeCurrentTransceiveLimit ()
double TimeToNextTransceive ()
void NoteTransceive (lword size)
unsigned int GetMaxWaitObjectCount () const
void GetWaitObjects (WaitObjectContainer &container, const CallStack &callStack)


Member Function Documentation

unsigned int LimitedBandwidth::GetMaxWaitObjectCount (  )  const [inline]

GetWaitObjects() must be called despite the 0 return from GetMaxWaitObjectCount(); the 0 is because the ScheduleEvent() method is used instead of adding a wait object

Reimplemented in NetworkSource, and NetworkSink.

Definition at line 38 of file network.h.

Referenced by NetworkSink::GetMaxWaitObjectCount(), and NetworkSource::GetMaxWaitObjectCount().


The documentation for this class was generated from the following files:
Generated on Sat Dec 23 02:07:26 2006 for Crypto++ by  doxygen 1.5.1-p1