Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CIoCompletionListenerCallback Class Reference

Callback for an IOCP listener. More...

#include <IoCompletionListener.h>

List of all members.

Public Member Functions

virtual void onAcceptCompletion (CIoCompletionListenerAcceptEx *accepted, bool bRet, DWORD)=0
 Called when an AcceptEx call completes asychronously.


Detailed Description

Callback for an IOCP listener.


Member Function Documentation

virtual void OW32::CIoCompletionListenerCallback::onAcceptCompletion CIoCompletionListenerAcceptEx accepted,
bool  bRet,
DWORD 
[pure virtual]
 

Called when an AcceptEx call completes asychronously.

If you want to repost the notification (after extracting the address/socket), call post(). post() may fail -- it will delete the object if so. If you don't want to repost the notification, just delete it.

Parameters:
listener The listener object that generated the notification.
bRet The success or failure of the accept() call.
cbTransferred The number of bytes transferred in the initial call (note: always 0 at present)


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:24 2005 for OW32 by  doxygen 1.3.9.1