The C++ framework for developing highly scalable, high performance servers on Windows platforms.

IProvideWorkItems Class Reference
[InterfacesAsynchronous I/OI/O BuffersProtected destructors on abstract base classes]

Inheritance diagram for IProvideWorkItems:

List of all members.


Detailed Description

A restricted interface onto a queue of work items (such as an I/O completion port, perhaps).

Public Member Functions

virtual bool GetNextWorkItem (IHandler *&pHandler, DWORD &ioSize, IBuffer *&pBuffer, DWORD &lastError)=0
virtual bool GetNextWorkItems (OVERLAPPED_ENTRY *pEntries, ULONG &numEntries, DWORD &lastError)=0
virtual void PutBackWorkItems (OVERLAPPED_ENTRY *pEntries, ULONG numEntries)=0

Protected Member Functions

virtual ~IProvideWorkItems ()
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.

Constructor & Destructor Documentation

virtual ~IProvideWorkItems (  )  [protected, virtual]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

virtual bool GetNextWorkItem ( IHandler *&  pHandler,
DWORD ioSize,
IBuffer *&  pBuffer,
DWORD lastError 
) [pure virtual]

virtual bool GetNextWorkItems ( OVERLAPPED_ENTRY pEntries,
ULONG numEntries,
DWORD lastError 
) [pure virtual]

virtual void PutBackWorkItems ( OVERLAPPED_ENTRY pEntries,
ULONG  numEntries 
) [pure virtual]


Generated on Sun Sep 12 19:09:34 2021 for The Server Framework - v7.4 by doxygen 1.5.3