#include <socket_option.hpp>
Public Member Functions | |
template<typename Protocol > | |
::linger * | data (const Protocol &) |
template<typename Protocol > | |
const ::linger * | data (const Protocol &) const |
void | enabled (bool value) |
bool | enabled () const |
template<typename Protocol > | |
int | level (const Protocol &) const |
linger () | |
linger (bool e, int t) | |
template<typename Protocol > | |
int | name (const Protocol &) const |
template<typename Protocol > | |
void | resize (const Protocol &, std::size_t s) |
template<typename Protocol > | |
std::size_t | size (const Protocol &) const |
void | timeout (int value) |
int | timeout () const |
Private Attributes | |
::linger | value_ |
Definition at line 211 of file detail/socket_option.hpp.
asio::detail::socket_option::linger< Level, Name >::linger | ( | ) | [inline] |
Definition at line 215 of file detail/socket_option.hpp.
asio::detail::socket_option::linger< Level, Name >::linger | ( | bool | e, |
int | t | ||
) | [inline] |
Definition at line 222 of file detail/socket_option.hpp.
::linger* asio::detail::socket_option::linger< Level, Name >::data | ( | const Protocol & | ) | [inline] |
Definition at line 272 of file detail/socket_option.hpp.
const ::linger* asio::detail::socket_option::linger< Level, Name >::data | ( | const Protocol & | ) | const [inline] |
Definition at line 279 of file detail/socket_option.hpp.
void asio::detail::socket_option::linger< Level, Name >::enabled | ( | bool | value | ) | [inline] |
Definition at line 229 of file detail/socket_option.hpp.
bool asio::detail::socket_option::linger< Level, Name >::enabled | ( | ) | const [inline] |
Definition at line 235 of file detail/socket_option.hpp.
int asio::detail::socket_option::linger< Level, Name >::level | ( | const Protocol & | ) | const [inline] |
Definition at line 258 of file detail/socket_option.hpp.
int asio::detail::socket_option::linger< Level, Name >::name | ( | const Protocol & | ) | const [inline] |
Definition at line 265 of file detail/socket_option.hpp.
void asio::detail::socket_option::linger< Level, Name >::resize | ( | const Protocol & | , |
std::size_t | s | ||
) | [inline] |
Definition at line 293 of file detail/socket_option.hpp.
std::size_t asio::detail::socket_option::linger< Level, Name >::size | ( | const Protocol & | ) | const [inline] |
Definition at line 286 of file detail/socket_option.hpp.
void asio::detail::socket_option::linger< Level, Name >::timeout | ( | int | value | ) | [inline] |
Definition at line 241 of file detail/socket_option.hpp.
int asio::detail::socket_option::linger< Level, Name >::timeout | ( | ) | const [inline] |
Definition at line 251 of file detail/socket_option.hpp.
::linger asio::detail::socket_option::linger< Level, Name >::value_ [private] |
Definition at line 300 of file detail/socket_option.hpp.