asio::detail::error_base< T > Class Template Reference

Hack to keep asio library header-file-only. More...

#include <error.hpp>

Inheritance diagram for asio::detail::error_base< T >:

asio::error

List of all members.

Static Public Attributes

static const asio::error_code access_denied = ASIO_SOCKET_ERROR(EACCES)
 Permission denied.
static const asio::error_code address_family_not_supported
 Address family not supported by protocol.
static const asio::error_code address_in_use = ASIO_SOCKET_ERROR(EADDRINUSE)
 Address already in use.
static const asio::error_code already_connected = ASIO_SOCKET_ERROR(EISCONN)
 Transport endpoint is already connected.
static const asio::error_code already_open = ASIO_MISC_ERROR(1)
 Already open.
static const asio::error_code already_started = ASIO_SOCKET_ERROR(EALREADY)
 Operation already in progress.
static const asio::error_code connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED)
 A connection has been aborted.
static const asio::error_code connection_refused = ASIO_SOCKET_ERROR(ECONNREFUSED)
 Connection refused.
static const asio::error_code connection_reset = ASIO_SOCKET_ERROR(ECONNRESET)
 Connection reset by peer.
static const asio::error_code bad_descriptor = ASIO_SOCKET_ERROR(EBADF)
 Bad file descriptor.
static const asio::error_code eof = ASIO_MISC_ERROR(2)
 End of file or stream.
static const asio::error_code fault = ASIO_SOCKET_ERROR(EFAULT)
 Bad address.
static const asio::error_code host_not_found = ASIO_NETDB_ERROR(HOST_NOT_FOUND)
 Host not found (authoritative).
static const asio::error_code host_not_found_try_again = ASIO_NETDB_ERROR(TRY_AGAIN)
 Host not found (non-authoritative).
static const asio::error_code host_unreachable = ASIO_SOCKET_ERROR(EHOSTUNREACH)
 No route to host.
static const asio::error_code in_progress = ASIO_SOCKET_ERROR(EINPROGRESS)
 Operation now in progress.
static const asio::error_code interrupted = ASIO_SOCKET_ERROR(EINTR)
 Interrupted system call.
static const asio::error_code invalid_argument = ASIO_SOCKET_ERROR(EINVAL)
 Invalid argument.
static const asio::error_code message_size = ASIO_SOCKET_ERROR(EMSGSIZE)
 Message too long.
static const asio::error_code network_down = ASIO_SOCKET_ERROR(ENETDOWN)
 Network is down.
static const asio::error_code network_reset = ASIO_SOCKET_ERROR(ENETRESET)
 Network dropped connection on reset.
static const asio::error_code network_unreachable = ASIO_SOCKET_ERROR(ENETUNREACH)
 Network is unreachable.
static const asio::error_code no_descriptors = ASIO_SOCKET_ERROR(EMFILE)
 Too many open files.
static const asio::error_code no_buffer_space = ASIO_SOCKET_ERROR(ENOBUFS)
 No buffer space available.
static const asio::error_code no_data = ASIO_NETDB_ERROR(NO_DATA)
 The query is valid but does not have associated address data.
static const asio::error_code no_memory
 Cannot allocate memory.
static const asio::error_code no_permission
 Operation not permitted.
static const asio::error_code no_protocol_option = ASIO_SOCKET_ERROR(ENOPROTOOPT)
 Protocol not available.
static const asio::error_code no_recovery = ASIO_NETDB_ERROR(NO_RECOVERY)
 A non-recoverable error occurred.
static const asio::error_code not_connected = ASIO_SOCKET_ERROR(ENOTCONN)
 Transport endpoint is not connected.
static const asio::error_code not_found = ASIO_MISC_ERROR(3)
 Element not found.
static const asio::error_code not_socket = ASIO_SOCKET_ERROR(ENOTSOCK)
 Socket operation on non-socket.
static const asio::error_code operation_aborted
 Operation cancelled.
static const asio::error_code operation_not_supported = ASIO_SOCKET_ERROR(EOPNOTSUPP)
 Operation not supported.
static const asio::error_code service_not_found
 The service is not supported for the given socket type.
static const asio::error_code socket_type_not_supported
 The socket type is not supported.
static const asio::error_code shut_down = ASIO_SOCKET_ERROR(ESHUTDOWN)
 Cannot send after transport endpoint shutdown.
static const asio::error_code timed_out = ASIO_SOCKET_ERROR(ETIMEDOUT)
 Connection timed out.
static const asio::error_code try_again
 Resource temporarily unavailable.
static const asio::error_code would_block = ASIO_SOCKET_ERROR(EWOULDBLOCK)
 The socket is marked non-blocking and the requested operation would block.

Private Member Functions

 error_base ()


Detailed Description

template<typename T>
class asio::detail::error_base< T >

Hack to keep asio library header-file-only.

Definition at line 81 of file error.hpp.


Constructor & Destructor Documentation

template<typename T>
asio::detail::error_base< T >::error_base (  )  [private]


Member Data Documentation

template<typename T>
const asio::error_code asio::detail::error_base< T >::access_denied = ASIO_SOCKET_ERROR(EACCES) [inline, static]

Permission denied.

Definition at line 87 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::address_family_not_supported [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::address_in_use = ASIO_SOCKET_ERROR(EADDRINUSE) [inline, static]

Address already in use.

Definition at line 93 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::already_connected = ASIO_SOCKET_ERROR(EISCONN) [inline, static]

Transport endpoint is already connected.

Definition at line 96 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::already_open = ASIO_MISC_ERROR(1) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::already_started = ASIO_SOCKET_ERROR(EALREADY) [inline, static]

Operation already in progress.

Definition at line 102 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::connection_refused = ASIO_SOCKET_ERROR(ECONNREFUSED) [inline, static]

Connection refused.

Definition at line 108 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::connection_reset = ASIO_SOCKET_ERROR(ECONNRESET) [inline, static]

Connection reset by peer.

Definition at line 111 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::bad_descriptor = ASIO_SOCKET_ERROR(EBADF) [inline, static]

Bad file descriptor.

Definition at line 114 of file error.hpp.

Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_connect(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive_from(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_send(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_send_to(), asio::detail::reactive_socket_service< Protocol, Reactor >::at_mark(), asio::detail::reactive_socket_service< Protocol, Reactor >::available(), asio::detail::reactive_socket_service< Protocol, Reactor >::bind(), asio::detail::reactive_socket_service< Protocol, Reactor >::cancel(), asio::detail::reactive_socket_service< Protocol, Reactor >::connect(), asio::detail::reactive_socket_service< Protocol, Reactor >::get_option(), asio::detail::reactive_socket_service< Protocol, Reactor >::io_control(), asio::detail::reactive_socket_service< Protocol, Reactor >::listen(), asio::detail::reactive_socket_service< Protocol, Reactor >::local_endpoint(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from(), asio::detail::reactive_socket_service< Protocol, Reactor >::remote_endpoint(), asio::detail::reactive_socket_service< Protocol, Reactor >::send(), asio::detail::reactive_socket_service< Protocol, Reactor >::send_to(), asio::detail::reactive_socket_service< Protocol, Reactor >::set_option(), and asio::detail::reactive_socket_service< Protocol, Reactor >::shutdown().

template<typename T>
const asio::error_code asio::detail::error_base< T >::eof = ASIO_MISC_ERROR(2) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::fault = ASIO_SOCKET_ERROR(EFAULT) [inline, static]

Bad address.

Definition at line 120 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::host_not_found = ASIO_NETDB_ERROR(HOST_NOT_FOUND) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::host_not_found_try_again = ASIO_NETDB_ERROR(TRY_AGAIN) [inline, static]

Host not found (non-authoritative).

Definition at line 126 of file error.hpp.

Referenced by asio::error_code::message(), and asio::detail::socket_ops::translate_addrinfo_error().

template<typename T>
const asio::error_code asio::detail::error_base< T >::host_unreachable = ASIO_SOCKET_ERROR(EHOSTUNREACH) [inline, static]

No route to host.

Definition at line 129 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::in_progress = ASIO_SOCKET_ERROR(EINPROGRESS) [inline, static]

Operation now in progress.

Definition at line 132 of file error.hpp.

Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::async_connect().

template<typename T>
const asio::error_code asio::detail::error_base< T >::interrupted = ASIO_SOCKET_ERROR(EINTR) [inline, static]

Interrupted system call.

Definition at line 135 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::invalid_argument = ASIO_SOCKET_ERROR(EINVAL) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::message_size = ASIO_SOCKET_ERROR(EMSGSIZE) [inline, static]

Message too long.

Definition at line 141 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::network_down = ASIO_SOCKET_ERROR(ENETDOWN) [inline, static]

Network is down.

Definition at line 144 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::network_reset = ASIO_SOCKET_ERROR(ENETRESET) [inline, static]

Network dropped connection on reset.

Definition at line 147 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::network_unreachable = ASIO_SOCKET_ERROR(ENETUNREACH) [inline, static]

Network is unreachable.

Definition at line 150 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_descriptors = ASIO_SOCKET_ERROR(EMFILE) [inline, static]

Too many open files.

Definition at line 153 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_buffer_space = ASIO_SOCKET_ERROR(ENOBUFS) [inline, static]

No buffer space available.

Definition at line 156 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_data = ASIO_NETDB_ERROR(NO_DATA) [inline, static]

The query is valid but does not have associated address data.

Definition at line 159 of file error.hpp.

Referenced by asio::error_code::message().

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_memory [inline, static]

Initial value:

Cannot allocate memory.

Definition at line 162 of file error.hpp.

Referenced by asio::detail::socket_ops::translate_addrinfo_error().

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_permission [inline, static]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(ERROR_ACCESS_DENIED),
    ASIO_NATIVE_ERROR(EPERM))
Operation not permitted.

Definition at line 165 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_protocol_option = ASIO_SOCKET_ERROR(ENOPROTOOPT) [inline, static]

Protocol not available.

Definition at line 168 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_recovery = ASIO_NETDB_ERROR(NO_RECOVERY) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::not_connected = ASIO_SOCKET_ERROR(ENOTCONN) [inline, static]

Transport endpoint is not connected.

Definition at line 174 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::not_found = ASIO_MISC_ERROR(3) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::not_socket = ASIO_SOCKET_ERROR(ENOTSOCK) [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::operation_aborted [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::operation_not_supported = ASIO_SOCKET_ERROR(EOPNOTSUPP) [inline, static]

Operation not supported.

Definition at line 186 of file error.hpp.

Referenced by asio::detail::null_thread::null_thread().

template<typename T>
const asio::error_code asio::detail::error_base< T >::service_not_found [inline, static]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(WSATYPE_NOT_FOUND),
    ASIO_GETADDRINFO_ERROR(EAI_SERVICE))
The service is not supported for the given socket type.

Definition at line 189 of file error.hpp.

Referenced by asio::error_code::message(), and asio::detail::socket_ops::translate_addrinfo_error().

template<typename T>
const asio::error_code asio::detail::error_base< T >::socket_type_not_supported [inline, static]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(WSAESOCKTNOSUPPORT),
    ASIO_GETADDRINFO_ERROR(EAI_SOCKTYPE))
The socket type is not supported.

Definition at line 192 of file error.hpp.

Referenced by asio::error_code::message(), and asio::detail::socket_ops::translate_addrinfo_error().

template<typename T>
const asio::error_code asio::detail::error_base< T >::shut_down = ASIO_SOCKET_ERROR(ESHUTDOWN) [inline, static]

Cannot send after transport endpoint shutdown.

Definition at line 195 of file error.hpp.

Referenced by asio::ssl::detail::openssl_operation< Stream >::start().

template<typename T>
const asio::error_code asio::detail::error_base< T >::timed_out = ASIO_SOCKET_ERROR(ETIMEDOUT) [inline, static]

Connection timed out.

Definition at line 198 of file error.hpp.

template<typename T>
const asio::error_code asio::detail::error_base< T >::try_again [inline, static]

template<typename T>
const asio::error_code asio::detail::error_base< T >::would_block = ASIO_SOCKET_ERROR(EWOULDBLOCK) [inline, static]


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

Generated on Sun May 25 00:21:34 2008 by  doxygen 1.5.6