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

NetworkSink Class Reference

Network Sink. More...

#include <network.h>

Inheritance diagram for NetworkSink:

NetworkSender NonblockingSink Sink BufferedTransformation SocketSink WindowsPipeSink List of all members.

Public Methods

 NetworkSink (unsigned int maxBufferSize,bool autoFlush)
void Put (byte b)
 input a byte for processing. More...

void Put (const byte *str,unsigned int bc)
 input multiple bytes. More...

void MessageEnd (int propagation=-1)
 mark end of an input segment, message, or packet. More...

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

Detailed Description

Network Sink.

Definition at line 86 of file network.h.


Constructor & Destructor Documentation

NetworkSink::NetworkSink ( unsigned int maxBufferSize,
bool autoFlush ) [inline]
 

Definition at line 89 of file network.h.


Member Function Documentation

unsigned int NetworkSink::GetCurrentBufferSize ( ) const [inline, virtual]
 

Reimplemented from NonblockingSink.

Definition at line 103 of file network.h.

unsigned int NetworkSink::GetMaxBufferSize ( ) const [inline, virtual]
 

Reimplemented from NonblockingSink.

Definition at line 102 of file network.h.

void NetworkSink::MessageEnd ( int propagation = -1 ) [inline, virtual]
 

mark end of an input segment, message, or packet.

propagation != 0 means pass on the signal to attached BufferedTransformation objects, with propagation decremented at each step until it reaches 0. -1 means unlimited propagation.

Reimplemented from BufferedTransformation.

Definition at line 95 of file network.h.

void NetworkSink::Put ( const byte * str,
unsigned int bc ) [virtual]
 

input multiple bytes.

Reimplemented from BufferedTransformation.

Definition at line 105 of file network.cpp.

void NetworkSink::Put ( byte b ) [inline, virtual]
 

input a byte for processing.

Reimplemented from BufferedTransformation.

Definition at line 92 of file network.h.

void NetworkSink::SetAutoFlush ( bool autoFlush = true ) [inline, virtual]
 

Reimplemented from NonblockingSink.

Definition at line 100 of file network.h.

void NetworkSink::SetMaxBufferSize ( unsigned int maxBufferSize ) [inline, virtual]
 

Reimplemented from NonblockingSink.

Definition at line 99 of file network.h.

unsigned int NetworkSink::TimedFlush ( unsigned long maxTime ) [virtual]
 

Reimplemented from NonblockingSink.

Definition at line 123 of file network.cpp.


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