|
unilink
0.4.3
A simple C++ library for unified async communication
|
Boost.Asio implementation of ITcpSocket interface. This is the real implementation used in production. More...
#include <boost_tcp_socket.hpp>
Public Member Functions | |
| BoostTcpSocket (tcp::socket sock) | |
| ~BoostTcpSocket () override=default | |
| void | async_read_some (const net::mutable_buffer &buffer, std::function< void(const boost::system::error_code &, std::size_t)> handler) override |
| void | async_write (const net::const_buffer &buffer, std::function< void(const boost::system::error_code &, std::size_t)> handler) override |
| void | shutdown (tcp::socket::shutdown_type what, boost::system::error_code &ec) override |
| void | close (boost::system::error_code &ec) override |
| tcp::endpoint | remote_endpoint (boost::system::error_code &ec) const override |
Public Member Functions inherited from unilink::interface::TcpSocketInterface | |
| virtual | ~TcpSocketInterface ()=default |
| virtual void | shutdown (net::ip::tcp::socket::shutdown_type what, boost::system::error_code &ec)=0 |
Boost.Asio implementation of ITcpSocket interface. This is the real implementation used in production.
Definition at line 36 of file boost_tcp_socket.hpp.
|
explicit |
Definition at line 30 of file boost_tcp_socket.cc.
|
overridedefault |
|
overridevirtual |
Implements unilink::interface::TcpSocketInterface.
Definition at line 37 of file boost_tcp_socket.cc.
|
overridevirtual |
Implements unilink::interface::TcpSocketInterface.
Definition at line 42 of file boost_tcp_socket.cc.
|
overridevirtual |
Implements unilink::interface::TcpSocketInterface.
Definition at line 51 of file boost_tcp_socket.cc.
|
overridevirtual |
Implements unilink::interface::TcpSocketInterface.
Definition at line 53 of file boost_tcp_socket.cc.
|
override |
Definition at line 47 of file boost_tcp_socket.cc.