Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

AsyncDNSHandler Class Reference

A handler that will receive results of the asynchronous DNS resolver. More...

#include <asyncdnshandler.h>

Inherited by AsyncDNS.

Inheritance diagram for AsyncDNSHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void handleAsyncResolveResult (const DNS::HostMap &hosts, void *context)=0
virtual void handleAsyncConnectResult (int fd, void *context)=0

Detailed Description

A handler that will receive results of the asynchronous DNS resolver.

Author:
Jakob Schroeter <js@camaya.net>
Since:
1.1

Definition at line 27 of file asyncdnshandler.h.


Member Function Documentation

virtual void handleAsyncConnectResult int  fd,
void *  context
[pure virtual]
 

Parameters:
fd A file descriptor for the established connection.
context User-defined context information.

Implemented in AsyncDNS.

virtual void handleAsyncResolveResult const DNS::HostMap hosts,
void *  context
[pure virtual]
 

Parameters:
hosts A list of weighted hostname/port pairs from SRV records, or A records if no SRV records where found.
context User-defined context information.

Implemented in AsyncDNS.


The documentation for this class was generated from the following file:
Generated on Tue May 4 16:35:15 2010 for gloox by  doxygen 1.4.1