|
using | native_handle_type = int |
|
using | endpoint_type = ::boost::asio::ip::tcp::endpoint |
|
using | error_code = std::error_code |
|
using | expected_size_t = nonstd::expected< size_t, error_code > |
|
using | expected_size_t = nonstd::expected< size_t, std::error_code > |
|
|
| FiberSocket (FiberSocket &&other) noexcept |
|
FiberSocket & | operator= (FiberSocket &&other) noexcept |
|
ABSL_MUST_USE_RESULT error_code | Listen (unsigned port, unsigned backlog, uint32_t sock_opts_mask=0) |
|
ABSL_MUST_USE_RESULT error_code | Accept (FiberSocket *peer) |
|
ABSL_MUST_USE_RESULT error_code | Connect (const endpoint_type &ep) |
|
ABSL_MUST_USE_RESULT error_code | Shutdown (int how) |
|
ABSL_MUST_USE_RESULT error_code | Close () |
|
expected_size_t | Send (const iovec *ptr, size_t len) override |
|
expected_size_t | Send (const boost::asio::const_buffer &b) |
|
expected_size_t | Recv (iovec *ptr, size_t len) override |
|
expected_size_t | Recv (const boost::asio::mutable_buffer &mb) |
|
native_handle_type | native_handle () const |
|
void | Detach () |
| Removes the ownership over file descriptor. Use with caution.
|
|
endpoint_type | LocalEndpoint () const |
|
endpoint_type | RemoteEndpoint () const |
|
bool | IsOpen () const |
| IsOpen does not promise that the socket is TCP connected or live,.
|
|
void | set_proactor (Proactor *p) |
|
Proactor * | proactor () |
|
|
static bool | IsConnClosed (const error_code &ec) |
|
Definition at line 21 of file fiber_socket.h.
The documentation for this class was generated from the following files: