Classes | Public Types | Public Member Functions | List of all members
util::detail::FiberSocketImpl Class Reference

Classes

struct  ClientData
 

Public Types

using error_code = ::boost::system::error_code
 
using next_layer_type = ::boost::asio::ip::tcp::socket
 

Public Member Functions

 FiberSocketImpl (next_layer_type &&sock, size_t rbuf_size)
 
 FiberSocketImpl (const std::string &hname, const std::string &port, IoContext *cntx, size_t rbuf_size)
 
 FiberSocketImpl (FiberSocketImpl &&other)=delete
 
error_code ClientWaitToConnect (uint32_t ms)
 
template<typename MBS >
size_t read_some (const MBS &bufs, error_code &ec)
 
template<typename BS >
size_t write_some (const BS &bufs, error_code &ec)
 
next_layer_type::native_handle_type native_handle ()
 
bool is_open () const
 
void Shutdown (error_code &ec)
 
next_layer_type::endpoint_type remote_endpoint (error_code &ec) const
 
error_code status () const
 
next_layer_type & next_layer ()
 
IoContextcontext ()
 
bool keep_alive () const
 
void set_keep_alive (bool flag)
 

Detailed Description

Definition at line 15 of file fiber_socket_impl.h.


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