Clementine
Classes | Public Types | Public Member Functions | List of all members
asio::detail::reactive_socket_service< Protocol > Class Template Reference
Inheritance diagram for asio::detail::reactive_socket_service< Protocol >:
Inheritance graph
[legend]
Collaboration diagram for asio::detail::reactive_socket_service< Protocol >:
Collaboration graph
[legend]

Classes

struct  implementation_type
 

Public Types

typedef Protocol protocol_type
 
typedef Protocol::endpoint endpoint_type
 
typedef socket_type native_handle_type
 
- Public Types inherited from asio::detail::reactive_socket_service_base
typedef socket_type native_handle_type
 

Public Member Functions

 reactive_socket_service (execution_context &context)
 
void shutdown ()
 Destroy all user-defined handler objects owned by the service.
 
void move_construct (implementation_type &impl, implementation_type &other_impl) ASIO_NOEXCEPT
 
void move_assign (implementation_type &impl, reactive_socket_service_base &other_service, implementation_type &other_impl)
 
template<typename Protocol1 >
void converting_move_construct (implementation_type &impl, reactive_socket_service< Protocol1 > &, typename reactive_socket_service< Protocol1 >::implementation_type &other_impl)
 
asio::error_code open (implementation_type &impl, const protocol_type &protocol, asio::error_code &ec)
 
asio::error_code assign (implementation_type &impl, const protocol_type &protocol, const native_handle_type &native_socket, asio::error_code &ec)
 
native_handle_type native_handle (implementation_type &impl)
 
asio::error_code bind (implementation_type &impl, const endpoint_type &endpoint, asio::error_code &ec)
 
template<typename Option >
asio::error_code set_option (implementation_type &impl, const Option &option, asio::error_code &ec)
 
template<typename Option >
asio::error_code get_option (const implementation_type &impl, Option &option, asio::error_code &ec) const
 
endpoint_type local_endpoint (const implementation_type &impl, asio::error_code &ec) const
 
endpoint_type remote_endpoint (const implementation_type &impl, asio::error_code &ec) const
 
asio::error_code shutdown (base_implementation_type &impl, socket_base::shutdown_type what, asio::error_code &ec)
 
template<typename ConstBufferSequence >
size_t send_to (implementation_type &impl, const ConstBufferSequence &buffers, const endpoint_type &destination, socket_base::message_flags flags, asio::error_code &ec)
 
size_t send_to (implementation_type &impl, const null_buffers &, const endpoint_type &, socket_base::message_flags, asio::error_code &ec)
 
template<typename ConstBufferSequence , typename Handler , typename IoExecutor >
void async_send_to (implementation_type &impl, const ConstBufferSequence &buffers, const endpoint_type &destination, socket_base::message_flags flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename Handler , typename IoExecutor >
void async_send_to (implementation_type &impl, const null_buffers &, const endpoint_type &, socket_base::message_flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename MutableBufferSequence >
size_t receive_from (implementation_type &impl, const MutableBufferSequence &buffers, endpoint_type &sender_endpoint, socket_base::message_flags flags, asio::error_code &ec)
 
size_t receive_from (implementation_type &impl, const null_buffers &, endpoint_type &sender_endpoint, socket_base::message_flags, asio::error_code &ec)
 
template<typename MutableBufferSequence , typename Handler , typename IoExecutor >
void async_receive_from (implementation_type &impl, const MutableBufferSequence &buffers, endpoint_type &sender_endpoint, socket_base::message_flags flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename Handler , typename IoExecutor >
void async_receive_from (implementation_type &impl, const null_buffers &, endpoint_type &sender_endpoint, socket_base::message_flags flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename Socket >
asio::error_code accept (implementation_type &impl, Socket &peer, endpoint_type *peer_endpoint, asio::error_code &ec)
 
template<typename Socket , typename Handler , typename IoExecutor >
void async_accept (implementation_type &impl, Socket &peer, endpoint_type *peer_endpoint, Handler &handler, const IoExecutor &io_ex)
 
asio::error_code connect (implementation_type &impl, const endpoint_type &peer_endpoint, asio::error_code &ec)
 
template<typename Handler , typename IoExecutor >
void async_connect (implementation_type &impl, const endpoint_type &peer_endpoint, Handler &handler, const IoExecutor &io_ex)
 
- Public Member Functions inherited from asio::detail::execution_context_service_base< reactive_socket_service< Protocol > >
 execution_context_service_base (execution_context &e)
 
- Public Member Functions inherited from asio::execution_context::service
execution_contextcontext ()
 Get the context object that owns the service.
 
- Public Member Functions inherited from asio::detail::reactive_socket_service_base
ASIO_DECL reactive_socket_service_base (execution_context &context)
 
ASIO_DECL void base_shutdown ()
 
ASIO_DECL void construct (base_implementation_type &impl)
 
ASIO_DECL void base_move_construct (base_implementation_type &impl, base_implementation_type &other_impl) ASIO_NOEXCEPT
 
ASIO_DECL void base_move_assign (base_implementation_type &impl, reactive_socket_service_base &other_service, base_implementation_type &other_impl)
 
ASIO_DECL void destroy (base_implementation_type &impl)
 
bool is_open (const base_implementation_type &impl) const
 
ASIO_DECL asio::error_code close (base_implementation_type &impl, asio::error_code &ec)
 
ASIO_DECL socket_type release (base_implementation_type &impl, asio::error_code &ec)
 
native_handle_type native_handle (base_implementation_type &impl)
 
ASIO_DECL asio::error_code cancel (base_implementation_type &impl, asio::error_code &ec)
 
bool at_mark (const base_implementation_type &impl, asio::error_code &ec) const
 
std::size_t available (const base_implementation_type &impl, asio::error_code &ec) const
 
asio::error_code listen (base_implementation_type &impl, int backlog, asio::error_code &ec)
 
template<typename IO_Control_Command >
asio::error_code io_control (base_implementation_type &impl, IO_Control_Command &command, asio::error_code &ec)
 
bool non_blocking (const base_implementation_type &impl) const
 
asio::error_code non_blocking (base_implementation_type &impl, bool mode, asio::error_code &ec)
 
bool native_non_blocking (const base_implementation_type &impl) const
 
asio::error_code native_non_blocking (base_implementation_type &impl, bool mode, asio::error_code &ec)
 
asio::error_code wait (base_implementation_type &impl, socket_base::wait_type w, asio::error_code &ec)
 
template<typename Handler , typename IoExecutor >
void async_wait (base_implementation_type &impl, socket_base::wait_type w, Handler &handler, const IoExecutor &io_ex)
 
template<typename ConstBufferSequence >
size_t send (base_implementation_type &impl, const ConstBufferSequence &buffers, socket_base::message_flags flags, asio::error_code &ec)
 
size_t send (base_implementation_type &impl, const null_buffers &, socket_base::message_flags, asio::error_code &ec)
 
template<typename ConstBufferSequence , typename Handler , typename IoExecutor >
void async_send (base_implementation_type &impl, const ConstBufferSequence &buffers, socket_base::message_flags flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename Handler , typename IoExecutor >
void async_send (base_implementation_type &impl, const null_buffers &, socket_base::message_flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename MutableBufferSequence >
size_t receive (base_implementation_type &impl, const MutableBufferSequence &buffers, socket_base::message_flags flags, asio::error_code &ec)
 
size_t receive (base_implementation_type &impl, const null_buffers &, socket_base::message_flags, asio::error_code &ec)
 
template<typename MutableBufferSequence , typename Handler , typename IoExecutor >
void async_receive (base_implementation_type &impl, const MutableBufferSequence &buffers, socket_base::message_flags flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename Handler , typename IoExecutor >
void async_receive (base_implementation_type &impl, const null_buffers &, socket_base::message_flags flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename MutableBufferSequence >
size_t receive_with_flags (base_implementation_type &impl, const MutableBufferSequence &buffers, socket_base::message_flags in_flags, socket_base::message_flags &out_flags, asio::error_code &ec)
 
size_t receive_with_flags (base_implementation_type &impl, const null_buffers &, socket_base::message_flags, socket_base::message_flags &out_flags, asio::error_code &ec)
 
template<typename MutableBufferSequence , typename Handler , typename IoExecutor >
void async_receive_with_flags (base_implementation_type &impl, const MutableBufferSequence &buffers, socket_base::message_flags in_flags, socket_base::message_flags &out_flags, Handler &handler, const IoExecutor &io_ex)
 
template<typename Handler , typename IoExecutor >
void async_receive_with_flags (base_implementation_type &impl, const null_buffers &, socket_base::message_flags in_flags, socket_base::message_flags &out_flags, Handler &handler, const IoExecutor &io_ex)
 

Additional Inherited Members

- Static Public Attributes inherited from asio::detail::execution_context_service_base< reactive_socket_service< Protocol > >
static service_id< reactive_socket_service< Protocol > > id
 
- Protected Member Functions inherited from asio::execution_context::service
ASIO_DECL service (execution_context &owner)
 Constructor. More...
 
virtual ASIO_DECL ~service ()
 Destructor.
 
- Protected Member Functions inherited from asio::detail::reactive_socket_service_base
ASIO_DECL asio::error_code do_open (base_implementation_type &impl, int af, int type, int protocol, asio::error_code &ec)
 
ASIO_DECL asio::error_code do_assign (base_implementation_type &impl, int type, const native_handle_type &native_socket, asio::error_code &ec)
 
ASIO_DECL void start_op (base_implementation_type &impl, int op_type, reactor_op *op, bool is_continuation, bool is_non_blocking, bool noop)
 
ASIO_DECL void start_accept_op (base_implementation_type &impl, reactor_op *op, bool is_continuation, bool peer_is_open)
 
ASIO_DECL void start_connect_op (base_implementation_type &impl, reactor_op *op, bool is_continuation, const socket_addr_type *addr, size_t addrlen)
 
- Protected Attributes inherited from asio::detail::reactive_socket_service_base
reactor & reactor_
 
const asio::error_code success_ec_
 

The documentation for this class was generated from the following file: