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:
[legend]List of all members.
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
1.4.1