boost::net::socket::connector — Socket connector.
template<typename Demultiplexer, typename ConnectionSynchronisation, typename SocketErrorPolicy, typename EventHandler> class connector { public: // construct/copy/destruct connector(Demultiplexer &); // public member functions template<typename Endpoint> connector_error connect(const Endpoint &) ; template<typename AHandler> void attach(AHandler *) ; void on_connected(const boost::function< typename net::socket::on_connected_tag::fn_type > &) ; void on_can_not_connect(const boost::function< typename net::socket::on_can_not_connect_tag::fn_type > &) ; };
connector
public member functionstemplate<typename Endpoint> connector_error connect(const Endpoint & endpoint) ;
template<typename AHandler> void attach(AHandler * handler) ;
void on_connected(const boost::function< typename net::socket::on_connected_tag::fn_type > & handler) ;
void on_can_not_connect(const boost::function< typename net::socket::on_can_not_connect_tag::fn_type > & handler) ;
Copyright © 2004 Hugo Duncan |