boost.png (6897 bytes)

PrevUpHomeNext

Class template acceptor_handled

boost::net::socket::impl::acceptor_handled —

Synopsis

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

  // public member functions
  template<typename AHandler> void attach(AHandler *) ;
  void on_accepted(boost::function< typename net::socket::on_accepted_tag::fn_type >) ;
  void on_acceptor_error(boost::function< typename net::on_acceptor_error_tag::fn_type >) ;

  // protected member functions
  void execute_on_accepted(net::socket::socket, net::socket::any_address &) ;
  void execute_on_acceptor_error(net::acceptor_error) ;
};

Description

acceptor_handled construct/copy/destruct

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

acceptor_handled public member functions

  1. template<typename AHandler> void attach(AHandler * handler) ;
  2. void on_accepted(boost::function< typename net::socket::on_accepted_tag::fn_type > handler) ;
  3. void on_acceptor_error(boost::function< typename net::on_acceptor_error_tag::fn_type > handler) ;

acceptor_handled protected member functions

  1. void execute_on_accepted(net::socket::socket s, 
                             net::socket::any_address & address) ;
  2. void execute_on_acceptor_error(net::acceptor_error err) ;
Copyright © 2004 Hugo Duncan

PrevUpHomeNext