Public Member Functions

LimitedBandwidth Class Reference

Inheritance diagram for LimitedBandwidth:
NonblockingSink NonblockingSource NetworkSink NetworkSource SocketSink WindowsPipeSink SocketSource WindowsPipeSource

List of all members.

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)

Detailed Description

Definition at line 15 of file network.h.

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.

The documentation for this class was generated from the following files: