Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

WindowsPipeReceiver Class Reference

#include <winpipes.h>

Inheritance diagram for WindowsPipeReceiver:

WindowsPipe NetworkReceiver Waitable WindowsPipeSource List of all members.

Detailed Description

pipe-based implementation of NetworkReceiver

Definition at line 61 of file winpipes.h.

Public Member Functions

bool MustWaitForResult ()
bool Receive (byte *buf, unsigned int bufLen)
 receive data from network source, returns whether result is immediately available
unsigned int GetReceiveResult ()
bool EofReceived () const
unsigned int GetMaxWaitObjectCount () const
 maximum number of wait objects that this object can return
void GetWaitObjects (WaitObjectContainer &container)
 put wait objects into container
virtual bool MustWaitToReceive ()
bool Wait (unsigned long milliseconds)
 wait on this object

Protected Member Functions

virtual HANDLE GetHandle () const =0
virtual void HandleError (const char *operation) const
void CheckAndHandleError (const char *operation, BOOL result) const


Member Function Documentation

bool Waitable::Wait unsigned long  milliseconds  )  [inherited]
 

wait on this object

same as creating an empty container, calling GetWaitObjects(), and calling Wait() on the container Definition at line 321 of file wait.cpp.

References Waitable::GetWaitObjects(), and WaitObjectContainer::Wait().

Referenced by NetworkSource::GeneralPump2(), and NetworkSink::TimedFlush().


The documentation for this class was generated from the following files:
Generated on Fri Aug 27 14:05:39 2004 for Crypto++ by doxygen 1.3.8