boost::net::socket::acceptor_impl<ConnectionSynchronisation, Demultiplexer, blocking_synchronisation, SocketErrorPolicy, EventHandler> — blocking acceptor for sockets
template<typename ConnectionSynchronisation, typename Demultiplexer, typename SocketErrorPolicy, typename EventHandler> class acceptor_impl<ConnectionSynchronisation, Demultiplexer, blocking_synchronisation, SocketErrorPolicy, EventHandler> { public: // types typedef Demultiplexer demultiplexer_t; typedef blocking_synchronisation synchronisation_t; typedef ConnectionSynchronisation connection_synchronisation_t; typedef SocketErrorPolicy error_policy; typedef socket socket_base_t; typedef boost::net::socket::socket_t os_socket_t; typedef socket ipc_t; typedef any_address address_t; // construct/copy/destruct acceptor_impl& operator=(const acceptor_impl &); // public member functions acceptor_impl(Demultiplexer &) ; ~acceptor_impl() ; template<typename Endpoint> acceptor_error open(const Endpoint &, std::size_t = 1) ; template<typename SocketOption> acceptor_error setsockopt(SocketOption &) ; acceptor_error accept() ; Demultiplexer & demultiplexer() ; // private member functions acceptor_error close() ; };
acceptor_impl
public member functionsacceptor_impl(Demultiplexer & demux) ;
~acceptor_impl() ;
template<typename Endpoint> acceptor_error open(const Endpoint & endpoint, std::size_t backlog = 1) ;
we should find a way to control access to this
template<typename SocketOption> acceptor_error setsockopt(SocketOption & option) ;
acceptor_error accept() ;
Demultiplexer & demultiplexer() ;
Copyright © 2004 Hugo Duncan |