class holding pending jobs and the packets waiting for its completition More...
|resolver_job (resolver &owner, dpacket dp)|
|void||add_packet (dpacket dp)|
|std::list< dpacket > const &||get_packets () const|
|sigc::connection||register_result_callback (sigc::signal< void, resolver_job & >::slot_type const &callback)|
|Glib::ustring||get_result () const|
|xmppd::jabberid||get_resend_host () const|
|std::ostream &||operator<< (std::ostream &out, resolver_job &job)|
class holding pending jobs and the packets waiting for its completition
This class stores all packets for a given destination, resolves the IP address for this destination and then resends the packets to a s2s component including the resolved addresses
add a packet that waits for the job to be completed
|dp||the packet that is waiting|
|std::invalid_argument||if the packet has a different destination, that what is being resolved by this job|
Referenced by resolver_job().
get the waiting packets
get the service where to send packets to that have been resolved by this job
get the resolving result
Referenced by xmppd::resolver::operator<<().
|sigc::connection xmppd::resolver::resolver_job::register_result_callback||(||sigc::signal< void, resolver_job & >::slot_type const &||callback||)|
register for being notified on finishing the job
|callback||what should get notified on finishing the job|
|std::ostream& operator<<||(||std::ostream &||out,|