Interface for classes that wish to be readable via Dwm::ASIO. More...
#include <DwmASIOCapable.hh>

Public Member Functions | |
| virtual bool | Read (boost::asio::ip::tcp::socket &s, boost::system::error_code &ec)=0 |
Should read the class from the given socket s and return true on success, false on failure. | |
| virtual bool | Read (boost::asio::local::stream_protocol::socket &s, boost::system::error_code &ec)=0 |
Should read the class from the given socket s and return true on success, false on failure. | |
| virtual bool | Read (boost::asio::generic::stream_protocol::socket &s, boost::system::error_code &ec)=0 |
Interface for classes that wish to be readable via Dwm::ASIO.
Pure virtual.
|
pure virtual |
Should read the class from the given socket s and return true on success, false on failure.
Should set ec to the correct error code on failure.
|
pure virtual |
Should read the class from the given socket s and return true on success, false on failure.
Should set ec to the correct error code on failure.