Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NonblockingSink Class Reference

a Sink class that queues input and can flush to a device for a specified amount of time. More...

#include <network.h>

Inheritance diagram for NonblockingSink:

Sink BufferedTransformation NetworkSink SocketSink WindowsPipeSink List of all members.

Public Methods

void Flush (bool completeFlush,int propagation=-1)
 process everything in internal buffers and output them. More...

virtual unsigned int TimedFlush (unsigned long maxTime)=0
virtual void SetMaxBufferSize (unsigned int maxBufferSize)=0
virtual void SetAutoFlush (bool autoFlush=true)=0
virtual unsigned int GetMaxBufferSize ()const=0
virtual unsigned int GetCurrentBufferSize ()const=0

Detailed Description

a Sink class that queues input and can flush to a device for a specified amount of time.

Definition at line 44 of file network.h.


Member Function Documentation

void NonblockingSink::Flush ( bool completeFlush,
int propagation = -1 ) [inline, virtual]
 

process everything in internal buffers and output them.

throws exception if completeFlush == true and it's not possible to flush everything

Reimplemented from BufferedTransformation.

Definition at line 47 of file network.h.

Referenced by NetworkSink::Put().


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 01:16:56 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000