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

OW32::CAsyncResolverCallback Class Reference

Callback class used for passing off answers to search, gethostbyname, etc. More...

#include <AsyncResolverQuery.h>

Inheritance diagram for OW32::CAsyncResolverCallback:

OW32::CAsyncResolverGetHostByAddr OW32::CAsyncResolverGetHostByName OW32::CAsyncResolverSearch List of all members.

Public Member Functions

virtual void OnAnswer (void *context, AsyncResolverError status, unsigned char *abuf, size_t alen)=0
 Called when name resolution has completed.

Detailed Description

Callback class used for passing off answers to search, gethostbyname, etc.


Member Function Documentation

virtual void OW32::CAsyncResolverCallback::OnAnswer void *  context,
AsyncResolverError  status,
unsigned char *  abuf,
size_t  alen
[pure virtual]
 

Called when name resolution has completed.

Parameters:
context Callback context parameter.
status ARES_SUCCESS if successful, or an error code.
abuf The answer packet.
alen The length of the answer packet.

Implemented in OW32::CAsyncResolverGetHostByAddr, OW32::CAsyncResolverGetHostByName, and OW32::CAsyncResolverSearch.


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