boost.png (6897 bytes)

PrevUpHomeNext

Class template connector_impl<ConnectionSynch, Demultiplexer, non_blocking_synchronisation, SocketErrorPolicy, EventHandler>

boost::net::socket::connector_impl<ConnectionSynch, Demultiplexer, non_blocking_synchronisation, SocketErrorPolicy, EventHandler> — Non-Blocking Socket Connector.

Synopsis

template<typename ConnectionSynch, typename Demultiplexer, 
         typename SocketErrorPolicy, typename EventHandler> 
class connector_impl<ConnectionSynch, Demultiplexer, non_blocking_synchronisation, SocketErrorPolicy, EventHandler>
  :  : public boost::net::socket::impl::connector_handled< EventHandler >
{
public:
  // types
  typedef socket                       io_mechanism_t;      
  typedef Demultiplexer                demultiplexer_type;  
  typedef non_blocking_synchronisation synchronisation_type;
  typedef ConnectionSynch              connection_synch_t;  
  typedef SocketErrorPolicy            error_policy;        

  // construct/copy/destruct
  connector_impl& operator=(const connector_impl &);

  // public member functions
   connector_impl(Demultiplexer &) ;
  template<typename Endpoint> connector_error connect(const Endpoint &) ;

  // private member functions
  template<typename Endpoint> 
    void can_connect(arguments_type, fail_arguments_type, const Endpoint &) ;
  template<typename Endpoint> 
    void can_not_connect(arguments_type, fail_arguments_type, 
                         const Endpoint &) ;
  template<typename Endpoint> 
    void complete_connect(const arguments_type &, const Endpoint &) ;
};

Description

connector_impl construct/copy/destruct

  1. connector_impl& operator=(const connector_impl & );

connector_impl public member functions

  1.  connector_impl(Demultiplexer & demux) ;
  2. template<typename Endpoint> 
      connector_error connect(const Endpoint & endpoint) ;

connector_impl private member functions

  1. template<typename Endpoint> 
      void can_connect(arguments_type success, fail_arguments_type fail, 
                       const Endpoint & endpoint) ;
  2. template<typename Endpoint> 
      void can_not_connect(arguments_type success, fail_arguments_type fail, 
                           const Endpoint & endpoint) ;
  3. template<typename Endpoint> 
      void complete_connect(const arguments_type & success, 
                            const Endpoint & endpoint) ;
Copyright © 2004 Hugo Duncan

PrevUpHomeNext