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

IRingBufferWorkPoolThreadFactory Class Reference

List of all members.

Public Member Functions

virtual
IRingBufferWorkPoolWorkerThreadCallback
CreateWorkerThread ()=0
 Create and return a worker thread.
virtual void DestroyWorkerThread (IRingBufferWorkPoolWorkerThreadCallback &thread)=0
 Destroy the worker thread that you created in CreateWorkerThread().
virtual void ProcessDataAfterQueueShutdown (const BYTE *pData, DWORD dataLength)=0
 Called for each work item in the pool when the pool is shut down.

Protected Member Functions

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


Constructor & Destructor Documentation

virtual ~IRingBufferWorkPoolThreadFactory (  )  [protected, virtual]

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


Member Function Documentation

virtual IRingBufferWorkPoolWorkerThreadCallback& CreateWorkerThread (  )  [pure virtual]

Create and return a worker thread.

virtual void DestroyWorkerThread ( IRingBufferWorkPoolWorkerThreadCallback thread  )  [pure virtual]

Destroy the worker thread that you created in CreateWorkerThread().

virtual void ProcessDataAfterQueueShutdown ( const BYTE pData,
DWORD  dataLength 
) [pure virtual]

Called for each work item in the pool when the pool is shut down.


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