All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Attributes
asio::detail::reactive_socket_service< Protocol, Reactor > Class Template Reference

#include <reactive_socket_service.hpp>

Inheritance diagram for asio::detail::reactive_socket_service< Protocol, Reactor >:
Inheritance graph
[legend]

List of all members.

Classes

class  accept_operation
class  connect_operation
class  implementation_type
class  null_buffers_operation
class  receive_from_operation
class  receive_operation
class  send_operation
class  send_to_operation

Public Types

enum  
typedef Protocol::endpoint endpoint_type
typedef socket_type native_type
typedef Protocol protocol_type

Public Member Functions

template<typename Socket >
asio::error_code accept (implementation_type &impl, Socket &peer, endpoint_type *peer_endpoint, asio::error_code &ec)
asio::error_code assign (implementation_type &impl, const protocol_type &protocol, const native_type &native_socket, asio::error_code &ec)
template<typename Socket , typename Handler >
void async_accept (implementation_type &impl, Socket &peer, endpoint_type *peer_endpoint, Handler handler)
template<typename Handler >
void async_connect (implementation_type &impl, const endpoint_type &peer_endpoint, Handler handler)
template<typename MutableBufferSequence , typename Handler >
void async_receive (implementation_type &impl, const MutableBufferSequence &buffers, socket_base::message_flags flags, Handler handler)
template<typename Handler >
void async_receive (implementation_type &impl, const null_buffers &, socket_base::message_flags flags, Handler handler)
template<typename MutableBufferSequence , typename Handler >
void async_receive_from (implementation_type &impl, const MutableBufferSequence &buffers, endpoint_type &sender_endpoint, socket_base::message_flags flags, Handler handler)
template<typename Handler >
void async_receive_from (implementation_type &impl, const null_buffers &, endpoint_type &sender_endpoint, socket_base::message_flags flags, Handler handler)
template<typename ConstBufferSequence , typename Handler >
void async_send (implementation_type &impl, const ConstBufferSequence &buffers, socket_base::message_flags flags, Handler handler)
template<typename Handler >
void async_send (implementation_type &impl, const null_buffers &, socket_base::message_flags, Handler handler)
template<typename ConstBufferSequence , typename Handler >
void async_send_to (implementation_type &impl, const ConstBufferSequence &buffers, const endpoint_type &destination, socket_base::message_flags flags, Handler handler)
template<typename Handler >
void async_send_to (implementation_type &impl, const null_buffers &, socket_base::message_flags, const endpoint_type &, Handler handler)
bool at_mark (const implementation_type &impl, asio::error_code &ec) const
std::size_t available (const implementation_type &impl, asio::error_code &ec) const
asio::error_code bind (implementation_type &impl, const endpoint_type &endpoint, asio::error_code &ec)
asio::error_code cancel (implementation_type &impl, asio::error_code &ec)
asio::error_code close (implementation_type &impl, asio::error_code &ec)
asio::error_code connect (implementation_type &impl, const endpoint_type &peer_endpoint, asio::error_code &ec)
void construct (implementation_type &impl)
void destroy (implementation_type &impl)
template<typename Option >
asio::error_code get_option (const implementation_type &impl, Option &option, asio::error_code &ec) const
template<typename IO_Control_Command >
asio::error_code io_control (implementation_type &impl, IO_Control_Command &command, asio::error_code &ec)
bool is_open (const implementation_type &impl) const
asio::error_code listen (implementation_type &impl, int backlog, asio::error_code &ec)
endpoint_type local_endpoint (const implementation_type &impl, asio::error_code &ec) const
native_type native (implementation_type &impl)
asio::error_code open (implementation_type &impl, const protocol_type &protocol, asio::error_code &ec)
 reactive_socket_service (asio::io_service &io_service)
template<typename MutableBufferSequence >
size_t receive (implementation_type &impl, const MutableBufferSequence &buffers, socket_base::message_flags flags, asio::error_code &ec)
size_t receive (implementation_type &impl, const null_buffers &, socket_base::message_flags, asio::error_code &ec)
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)
endpoint_type remote_endpoint (const implementation_type &impl, asio::error_code &ec) const
template<typename ConstBufferSequence >
size_t send (implementation_type &impl, const ConstBufferSequence &buffers, socket_base::message_flags flags, asio::error_code &ec)
size_t send (implementation_type &impl, const null_buffers &, socket_base::message_flags, 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 &, socket_base::message_flags, const endpoint_type &, asio::error_code &ec)
template<typename Option >
asio::error_code set_option (implementation_type &impl, const Option &option, asio::error_code &ec)
asio::error_code shutdown (implementation_type &impl, socket_base::shutdown_type what, asio::error_code &ec)
 Disable sends or receives on the socket.
void shutdown_service ()
 Destroy all user-defined handler objects owned by the service.

Private Attributes

Reactor & reactor_

Detailed Description

template<typename Protocol, typename Reactor>
class asio::detail::reactive_socket_service< Protocol, Reactor >

Definition at line 40 of file reactive_socket_service.hpp.


Member Typedef Documentation

template<typename Protocol , typename Reactor >
typedef Protocol::endpoint asio::detail::reactive_socket_service< Protocol, Reactor >::endpoint_type

Definition at line 49 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
typedef socket_type asio::detail::reactive_socket_service< Protocol, Reactor >::native_type

Definition at line 52 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
typedef Protocol asio::detail::reactive_socket_service< Protocol, Reactor >::protocol_type

Definition at line 46 of file reactive_socket_service.hpp.


Member Enumeration Documentation

template<typename Protocol , typename Reactor >
anonymous enum

Definition at line 93 of file reactive_socket_service.hpp.


Constructor & Destructor Documentation

template<typename Protocol , typename Reactor >
asio::detail::reactive_socket_service< Protocol, Reactor >::reactive_socket_service ( asio::io_service io_service) [inline]

Definition at line 96 of file reactive_socket_service.hpp.


Member Function Documentation

template<typename Protocol , typename Reactor >
template<typename Socket >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::accept ( implementation_type impl,
Socket &  peer,
endpoint_type peer_endpoint,
asio::error_code ec 
) [inline]

Definition at line 1436 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::assign ( implementation_type impl,
const protocol_type protocol,
const native_type native_socket,
asio::error_code ec 
) [inline]

Definition at line 177 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Socket , typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_accept ( implementation_type impl,
Socket &  peer,
endpoint_type peer_endpoint,
Handler  handler 
) [inline]

Definition at line 1607 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_connect ( implementation_type impl,
const endpoint_type peer_endpoint,
Handler  handler 
) [inline]

Definition at line 1720 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename MutableBufferSequence , typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive ( implementation_type impl,
const MutableBufferSequence &  buffers,
socket_base::message_flags  flags,
Handler  handler 
) [inline]

Definition at line 1114 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive ( implementation_type impl,
const null_buffers ,
socket_base::message_flags  flags,
Handler  handler 
) [inline]

Definition at line 1179 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename MutableBufferSequence , typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive_from ( implementation_type impl,
const MutableBufferSequence &  buffers,
endpoint_type sender_endpoint,
socket_base::message_flags  flags,
Handler  handler 
) [inline]

Definition at line 1373 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive_from ( implementation_type impl,
const null_buffers ,
endpoint_type sender_endpoint,
socket_base::message_flags  flags,
Handler  handler 
) [inline]

Definition at line 1406 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename ConstBufferSequence , typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_send ( implementation_type impl,
const ConstBufferSequence &  buffers,
socket_base::message_flags  flags,
Handler  handler 
) [inline]

Definition at line 651 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_send ( implementation_type impl,
const null_buffers ,
socket_base::message_flags  ,
Handler  handler 
) [inline]

Definition at line 733 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename ConstBufferSequence , typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_send_to ( implementation_type impl,
const ConstBufferSequence &  buffers,
const endpoint_type destination,
socket_base::message_flags  flags,
Handler  handler 
) [inline]

Definition at line 899 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Handler >
void asio::detail::reactive_socket_service< Protocol, Reactor >::async_send_to ( implementation_type impl,
const null_buffers ,
socket_base::message_flags  ,
const endpoint_type ,
Handler  handler 
) [inline]

Definition at line 933 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
bool asio::detail::reactive_socket_service< Protocol, Reactor >::at_mark ( const implementation_type impl,
asio::error_code ec 
) const [inline]

Definition at line 256 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
std::size_t asio::detail::reactive_socket_service< Protocol, Reactor >::available ( const implementation_type impl,
asio::error_code ec 
) const [inline]

Definition at line 275 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::bind ( implementation_type impl,
const endpoint_type endpoint,
asio::error_code ec 
) [inline]

Definition at line 294 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::cancel ( implementation_type impl,
asio::error_code ec 
) [inline]

Definition at line 241 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::close ( implementation_type impl,
asio::error_code ec 
) [inline]

Definition at line 209 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::connect ( implementation_type impl,
const endpoint_type peer_endpoint,
asio::error_code ec 
) [inline]

Definition at line 1645 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
void asio::detail::reactive_socket_service< Protocol, Reactor >::construct ( implementation_type impl) [inline]

Definition at line 109 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
void asio::detail::reactive_socket_service< Protocol, Reactor >::destroy ( implementation_type impl) [inline]

Definition at line 116 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Option >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::get_option ( const implementation_type impl,
Option &  option,
asio::error_code ec 
) const [inline]

Definition at line 382 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename IO_Control_Command >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::io_control ( implementation_type impl,
IO_Control_Command &  command,
asio::error_code ec 
) [inline]

Definition at line 424 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
bool asio::detail::reactive_socket_service< Protocol, Reactor >::is_open ( const implementation_type impl) const [inline]

Definition at line 203 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::listen ( implementation_type impl,
int  backlog,
asio::error_code ec 
) [inline]

Definition at line 308 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
endpoint_type asio::detail::reactive_socket_service< Protocol, Reactor >::local_endpoint ( const implementation_type impl,
asio::error_code ec 
) const [inline]

Definition at line 450 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
native_type asio::detail::reactive_socket_service< Protocol, Reactor >::native ( implementation_type impl) [inline]

Definition at line 235 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::open ( implementation_type impl,
const protocol_type protocol,
asio::error_code ec 
) [inline]

Definition at line 148 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename MutableBufferSequence >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::receive ( implementation_type impl,
const MutableBufferSequence &  buffers,
socket_base::message_flags  flags,
asio::error_code ec 
) [inline]

Definition at line 951 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::receive ( implementation_type impl,
const null_buffers ,
socket_base::message_flags  ,
asio::error_code ec 
) [inline]

Definition at line 1025 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename MutableBufferSequence >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from ( implementation_type impl,
const MutableBufferSequence &  buffers,
endpoint_type sender_endpoint,
socket_base::message_flags  flags,
asio::error_code ec 
) [inline]

Definition at line 1203 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from ( implementation_type impl,
const null_buffers ,
endpoint_type sender_endpoint,
socket_base::message_flags  ,
asio::error_code ec 
) [inline]

Definition at line 1274 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
endpoint_type asio::detail::reactive_socket_service< Protocol, Reactor >::remote_endpoint ( const implementation_type impl,
asio::error_code ec 
) const [inline]

Definition at line 468 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename ConstBufferSequence >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::send ( implementation_type impl,
const ConstBufferSequence &  buffers,
socket_base::message_flags  flags,
asio::error_code ec 
) [inline]

Definition at line 501 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::send ( implementation_type impl,
const null_buffers ,
socket_base::message_flags  ,
asio::error_code ec 
) [inline]

Definition at line 567 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename ConstBufferSequence >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::send_to ( implementation_type impl,
const ConstBufferSequence &  buffers,
const endpoint_type destination,
socket_base::message_flags  flags,
asio::error_code ec 
) [inline]

Definition at line 752 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
size_t asio::detail::reactive_socket_service< Protocol, Reactor >::send_to ( implementation_type impl,
const null_buffers ,
socket_base::message_flags  ,
const endpoint_type ,
asio::error_code ec 
) [inline]

Definition at line 811 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
template<typename Option >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::set_option ( implementation_type impl,
const Option &  option,
asio::error_code ec 
) [inline]

Definition at line 323 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
asio::error_code asio::detail::reactive_socket_service< Protocol, Reactor >::shutdown ( implementation_type impl,
socket_base::shutdown_type  what,
asio::error_code ec 
) [inline]

Disable sends or receives on the socket.

Definition at line 486 of file reactive_socket_service.hpp.

template<typename Protocol , typename Reactor >
void asio::detail::reactive_socket_service< Protocol, Reactor >::shutdown_service ( ) [inline, virtual]

Destroy all user-defined handler objects owned by the service.

Implements asio::io_service::service.

Definition at line 104 of file reactive_socket_service.hpp.


Member Data Documentation

template<typename Protocol , typename Reactor >
Reactor& asio::detail::reactive_socket_service< Protocol, Reactor >::reactor_ [private]

Definition at line 1772 of file reactive_socket_service.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41