boost::net::socket::connection_impl<Demultiplexer, blocking_synchronisation, SocketErrorPolicy, ConnectionHandler> —
template<typename Demultiplexer, typename SocketErrorPolicy, typename ConnectionHandler> class connection_impl<Demultiplexer, blocking_synchronisation, SocketErrorPolicy, ConnectionHandler> : public boost::net::socket::impl::connection_handled< ConnectionHandler > { public: // types typedef Demultiplexer demultiplexer_type; typedef blocking_synchronisation synchronisation_type; typedef SocketErrorPolicy error_policy; typedef socket socket_base_t; typedef socket_base_t::socket_t socket_t; typedef ConnectionHandler connection_handler_t; // construct/copy/destruct connection_impl& operator=(const connection_impl &); // public member functions connection_impl(socket_base_t, Demultiplexer &) ; connection_impl(connection_impl &) ; ~connection_impl() ; int recv(void *, int, int = 0) ; int send(const void *, int, int = 0) ; void exhaust_events() ; connection_error close() ; // private member functions void lost() ; void handle_error(function::name, socket_errno) ; };
connection_impl
public member functionsconnection_impl(socket_base_t s, Demultiplexer & demux) ;
connection_impl(connection_impl & s) ;
~connection_impl() ;
int recv(void * data, int len, int flags = 0) ;
int send(const void * data, int len, int flags = 0) ;
Returns the number of bytes sent
void exhaust_events() ;
connection_error close() ;
Copyright © 2004 Hugo Duncan |