xmppd::resolver::resolver Class Reference

resolver component implementation More...

#include <resolver.h>

Inheritance diagram for xmppd::resolver::resolver:
xmppd::instance_base

Public Member Functions

 resolver (instance i, xmlnode x)
std::list< resend_service > const & get_resend_services ()
void send_query (xmppd::lwresc::lwquery const &query)
sigc::connection register_result_callback (uint32_t serial, sigc::signal< void, xmppd::lwresc::lwresult const & >::slot_type const &callback)

Detailed Description

resolver component implementation

This class implements a component to the xmppd that does the resolving for the server. The component implements the XMPP/xmppd specific tasks and delegates the actual resolving to an instance of lwresd (which has to be installed and configured separately.


Constructor & Destructor Documentation

xmppd::resolver::resolver::resolver ( instance  i,
xmlnode  x 
)

construct a resolver instance

Parameters:
i the instance to construct a resolver for
x the configuration element that caused the instance to be created

Member Function Documentation

std::list< resend_service > const & xmppd::resolver::resolver::get_resend_services (  ) 

get the list of services and resend destinations

Returns:
the list of services to resolve and there resend destinations
sigc::connection xmppd::resolver::resolver::register_result_callback ( uint32_t  serial,
sigc::signal< void, xmppd::lwresc::lwresult const & >::slot_type const &  callback 
)

registers a callback function for query results

void xmppd::resolver::resolver::send_query ( xmppd::lwresc::lwquery const &  query  ) 

sends a query to the lwresd

Parameters:
query the query to send

References mio_write().


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

Generated on Thu Mar 11 06:00:15 2010 for jabberd14 by  doxygen 1.6.1