MeterFilter Class Reference

measure how many byte and messages pass through, also serves as valve More...

#include <filters.h>

Inheritance diagram for MeterFilter:

Bufferless< Filter > OpaqueFilter TransparentFilter

List of all members.

Classes

struct  MessageRange

Public Member Functions

 MeterFilter (BufferedTransformation *attachment=NULL, bool transparent=true)
void SetTransparent (bool transparent)
void AddRangeToSkip (unsigned int message, lword position, lword size, bool sortNow=true)
void ResetMeter ()
void IsolatedInitialize (const NameValuePairs &parameters)
lword GetCurrentMessageBytes () const
lword GetTotalBytes ()
unsigned int GetCurrentSeriesMessages ()
unsigned int GetTotalMessages ()
unsigned int GetTotalMessageSeries ()
byte * CreatePutSpace (size_t &size)
size_t Put2 (const byte *begin, size_t length, int messageEnd, bool blocking)
size_t PutModifiable2 (byte *inString, size_t length, int messageEnd, bool blocking)
bool IsolatedMessageSeriesEnd (bool blocking)
bool IsolatedFlush (bool hardFlush, bool blocking)


Detailed Description

measure how many byte and messages pass through, also serves as valve

Definition at line 83 of file filters.h.


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

Generated on Mon Oct 27 02:38:31 2008 for Crypto++ by  doxygen 1.5.7.1