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

SocketReceiver Class Reference

Inheritance diagram for SocketReceiver:

NetworkReceiver Waitable List of all members.

Detailed Description

Definition at line 123 of file socketft.h.

Public Member Functions

 SocketReceiver (Socket &s)
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


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 Sun Jul 3 00:21:07 2005 for Crypto++ by  doxygen 1.4.3-20050530