gloox  1.1-svn
Public Member Functions | List of all members
AsyncDNSHandler Class Reference

#include <asyncdnshandler.h>

Inheritance diagram for AsyncDNSHandler:
Inheritance graph
[legend]

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@ca.nosp@m.maya.nosp@m..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
fdA file descriptor for the established connection.
contextUser-defined context information.

Implemented in AsyncDNS.

virtual void handleAsyncResolveResult ( const DNS::HostMap hosts,
void *  context 
)
pure virtual
Parameters
hostsA list of weighted hostname/port pairs from SRV records, or A records if no SRV records where found.
contextUser-defined context information.

Implemented in AsyncDNS.


The documentation for this class was generated from the following file: