#include <socket_holder.hpp>
Inherits boost::noncopyable.
Public Member Functions | |
| socket_holder () | |
| socket_holder (socket_type s) | |
| ~socket_holder () | |
| socket_type | get () const |
| void | reset () |
| void | reset (socket_type s) |
| socket_type | release () |
Private Attributes | |
| socket_type | socket_ |
Definition at line 27 of file socket_holder.hpp.
| asio::detail::socket_holder::socket_holder | ( | ) | [inline] |
Definition at line 32 of file socket_holder.hpp.
| asio::detail::socket_holder::socket_holder | ( | socket_type | s | ) | [inline, explicit] |
Definition at line 38 of file socket_holder.hpp.
| asio::detail::socket_holder::~socket_holder | ( | ) | [inline] |
Definition at line 44 of file socket_holder.hpp.
References asio::detail::socket_ops::close(), asio::detail::invalid_socket, and socket_.
| socket_type asio::detail::socket_holder::get | ( | ) | const [inline] |
Definition at line 54 of file socket_holder.hpp.
References socket_.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::open(), asio::detail::reactive_socket_service< Protocol, Reactor >::accept_handler< Socket, Handler >::operator()(), and asio::detail::socket_select_interrupter::socket_select_interrupter().
| void asio::detail::socket_holder::reset | ( | ) | [inline] |
Definition at line 60 of file socket_holder.hpp.
References asio::detail::socket_ops::close(), asio::detail::invalid_socket, and socket_.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::accept_handler< Socket, Handler >::operator()(), and reset().
| void asio::detail::socket_holder::reset | ( | socket_type | s | ) | [inline] |
| socket_type asio::detail::socket_holder::release | ( | ) | [inline] |
Definition at line 78 of file socket_holder.hpp.
References asio::detail::invalid_socket, and socket_.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::open(), asio::detail::reactive_socket_service< Protocol, Reactor >::accept_handler< Socket, Handler >::operator()(), and asio::detail::socket_select_interrupter::socket_select_interrupter().
Definition at line 87 of file socket_holder.hpp.
Referenced by get(), release(), reset(), and ~socket_holder().
1.5.6