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

OW32::CAsyncResolverServer Class Reference

Represents the state of a single DNS server. More...

#include <AsyncResolverServer.h>

List of all members.

Public Member Functions

 CAsyncResolverServer (CAsyncResolver *pParent, size_t serverIndex, in_addr addr)
 Constructor.
AsyncResolverError sendQuery (CAsyncResolverQuery *query)
 Called to initiate transmission of the given query.
AsyncResolverError destroy ()
 Called to shutdown the sockets.
const size_t getServerIndex () const
 Helper to return the server index passed during construction.


Detailed Description

Represents the state of a single DNS server.


Constructor & Destructor Documentation

OW32::CAsyncResolverServer::CAsyncResolverServer CAsyncResolver pParent,
size_t  serverIndex,
in_addr  addr
 

Constructor.

Parameters:
pParent The parent resolver object
serverIndex An identifier to be passed back to the parent in OnAnswer
addr The address of the name server


Member Function Documentation

AsyncResolverError OW32::CAsyncResolverServer::destroy  ) 
 

Called to shutdown the sockets.

Cancels all i/o and waits until all outstanding notifications are processed on each open socket

AsyncResolverError OW32::CAsyncResolverServer::sendQuery CAsyncResolverQuery query  ) 
 

Called to initiate transmission of the given query.


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