boost.png (6897 bytes)

PrevUpHomeNext

Class template connector_handled

boost::net::socket::impl::connector_handled — handlers

Synopsis

template<typename Handler> 
class connector_handled {
public:
  // construct/copy/destruct
  connector_handled();
  connector_handled(connector_handled &);

  // public member functions
  template<typename AHandler> void attach(AHandler *) ;
  void on_connected(boost::function< typename net::socket::on_connected_tag::fn_type >) ;
  void on_can_not_connect(boost::function< typename net::socket::on_can_not_connect_tag::fn_type >) ;

  // protected member functions
  void execute_on_connected(net::socket::socket &) ;
  void execute_on_can_not_connect() ;
};

Description

connector_handled construct/copy/destruct

  1. connector_handled();
  2. connector_handled(connector_handled & s);

connector_handled public member functions

  1. template<typename AHandler> void attach(AHandler * handler) ;
  2. void on_connected(boost::function< typename net::socket::on_connected_tag::fn_type > handler) ;
  3. void on_can_not_connect(boost::function< typename net::socket::on_can_not_connect_tag::fn_type > handler) ;

connector_handled protected member functions

  1. void execute_on_connected(net::socket::socket & s) ;
  2. void execute_on_can_not_connect() ;
Copyright © 2004 Hugo Duncan

PrevUpHomeNext