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

IRefCountedHandler Class Reference

Inheritance diagram for IRefCountedHandler:
Collaboration diagram for IRefCountedHandler:

List of all members.

Public Member Functions

virtual void AddRef ()=0
virtual void OnError (DWORD lastError)=0
 Called when an error has occurred before the operation can be handled.
virtual void HandleOperation (IBuffer *pBuffer, DWORD ioSize, DWORD lastError)=0
 Called when a buffer has an operation that needs to be handled.
virtual DWORD GetError (const OVERLAPPED &overlapped)=0

Protected Member Functions

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

Static Protected Member Functions

static DWORD GetError (HANDLE handle, const OVERLAPPED &overlapped)


Constructor & Destructor Documentation

virtual ~IRefCountedHandler (  )  [protected, virtual]

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


Member Function Documentation

virtual void AddRef (  )  [pure virtual]

virtual void OnError ( DWORD  lastError  )  [pure virtual, inherited]

Called when an error has occurred before the operation can be handled.

Implemented in TDatagramSocketServer.

virtual void HandleOperation ( IBuffer *  pBuffer,
DWORD  ioSize,
DWORD  lastError 
) [pure virtual, inherited]

Called when a buffer has an operation that needs to be handled.

DWORD GetError ( HANDLE  handle,
const OVERLAPPED overlapped 
) [static, protected, inherited]


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