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

Public Member Functions | |
| virtual bool | Write (boost::asio::ip::tcp::socket &s, boost::system::error_code &ec) const =0 |
Should write the class to the given socket s and return true on success, false on failure. | |
| virtual bool | Write (boost::asio::local::stream_protocol::socket &s, boost::system::error_code &ec) const =0 |
Should write the class to the given socket s and return true on success, false on failure. | |
| virtual bool | Write (boost::asio::generic::stream_protocol::socket &s, boost::system::error_code &ec) const =0 |
Interface for classes that wish to be writable via Dwm::ASIO.
|
pure virtual |
Should write the class to 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 write the class to the given socket s and return true on success, false on failure.
Should set ec to the correct error code on failure.