C++ Actor Framework 1.0.0
|
Bundles protocol-independent, generic member functions for (almost all) upper layers. More...
#include <generic_upper_layer.hpp>
Public Member Functions | |
virtual void | prepare_send ()=0 |
Gives the upper layer an opportunity to add additional data to the output buffer. | |
virtual bool | done_sending ()=0 |
Queries whether all pending data has been sent. | |
virtual void | abort (const error &reason)=0 |
Called by the lower layer for cleaning up any state in case of an error or when disposed. | |
Bundles protocol-independent, generic member functions for (almost all) upper layers.
|
pure virtual |
Called by the lower layer for cleaning up any state in case of an error or when disposed.
Implemented in caf::net::http::router.
|
nodiscardpure virtual |
Queries whether all pending data has been sent.
The lower calls this function to decide whether it has to wait for write events on the socket.
Implemented in caf::net::http::router.
|
pure virtual |
Gives the upper layer an opportunity to add additional data to the output buffer.
Implemented in caf::net::http::router.