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

COverlappedWithEvent Class Reference
[Win32 Synchronization primitivesWin32 I/O Completion Ports]

Inheritance diagram for COverlappedWithEvent:
Collaboration diagram for COverlappedWithEvent:

List of all members.


Detailed Description

A class that wraps an OVERLAPPED structure that uses an event.

Public Member Functions

 COverlappedWithEvent ()
 COverlappedWithEvent (const COverlappedWithEvent &rhs)
COverlappedWithEventoperator= (const COverlappedWithEvent &rhs)
void ResetEvent ()
 Resets the event to the unsignalled state.
HANDLE GetWaitHandle () const override
void Wait () const override
bool Wait (Milliseconds timeoutMillis) const override
DWORD GetOverlappedResult (HANDLE handle)
 Calls GetOverlappedResult() on this OVERLAPPED for the supplied HANDLE and returns the number of bytes transferred. Throws an exception on failure.
DWORD GetOverlappedResult (SOCKET socket)
 Calls GetOverlappedResult() on this OVERLAPPED for the supplied SOCKET and returns the number of bytes transferred. Throws an exception on failure.

Constructor & Destructor Documentation


Member Function Documentation

COverlappedWithEvent& operator= ( const COverlappedWithEvent rhs  ) 

void ResetEvent (  ) 

Resets the event to the unsignalled state.

HANDLE GetWaitHandle (  )  const [override]

void Wait (  )  const [override]

bool Wait ( Milliseconds  timeoutMillis  )  const [override]

DWORD GetOverlappedResult ( HANDLE  handle  )  [inherited]

Calls GetOverlappedResult() on this OVERLAPPED for the supplied HANDLE and returns the number of bytes transferred. Throws an exception on failure.

DWORD GetOverlappedResult ( SOCKET  socket  )  [inherited]

Calls GetOverlappedResult() on this OVERLAPPED for the supplied SOCKET and returns the number of bytes transferred. Throws an exception on failure.


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