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

CIOCPWorkerThread Class Reference
[Win32 I/O Completion Ports]

Inheritance diagram for CIOCPWorkerThread:
Collaboration diagram for CIOCPWorkerThread:

List of all members.


Detailed Description

A thread that services completion packets from an I/O completion port.


Public Member Functions

 CIOCPWorkerThread (CIOCompletionPort &iocp, JetByteTools::Core::IThreadPoolWorkerThreadCallback &callback)
 Create a worker thread that is associated to the supplied CIOCompletionPort object and that calls back to the supplied interface when started, stopped or when completion packets arrive.
 CIOCPWorkerThread (const CIOCPWorkerThread &rhs)
CIOCPWorkerThreadoperator= (const CIOCPWorkerThread &rhs)
void Start ()
 Start the worker thread running.
void BeginShutdown () const
 Initiate the shut down of the worker thread.
void WaitForShutdownToComplete () const
 Initiates shutdown and waits for the worker thread to shut down.


Constructor & Destructor Documentation

Create a worker thread that is associated to the supplied CIOCompletionPort object and that calls back to the supplied interface when started, stopped or when completion packets arrive.

CIOCPWorkerThread ( const CIOCPWorkerThread rhs  ) 


Member Function Documentation

CIOCPWorkerThread& operator= ( const CIOCPWorkerThread rhs  ) 

void Start (  ) 

Start the worker thread running.

void BeginShutdown (  )  const

Initiate the shut down of the worker thread.

void WaitForShutdownToComplete (  )  const

Initiates shutdown and waits for the worker thread to shut down.


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