dispatches single boost::asio callback with error_code
and non-error results into two different functions of the actor
. After the invocation, actor's supervisor do_process
method is called to process message queue.
More...
#include <forwarder.hpp>
Public Types | |
using | base_t = forwarder_base_t< Actor, Handler, ErrHandler > |
alias for base class | |
using | base_t = forwarder_base_t< Actor, Handler, void > |
alias for base class | |
Public Types inherited from rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler > | |
using | base_t = forwarder_base_t< Actor, Handler, void > |
alias for base class | |
Public Member Functions | |
template<typename T = void> | |
void | operator() (const boost::system::error_code &ec) noexcept |
mimics boost::asio handler, which will be forwarded/decomposed into two different methods of the actor | |
Public Member Functions inherited from rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler > | |
forwarder_base_t (Actor &actor_, Handler &&handler_, ErrHandler &&err_handler_) | |
constructs forwarder_base for the actor from it's member functions: positive result handler and error handler functions. | |
Additional Inherited Members | |
Public Attributes inherited from rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler > | |
ErrHandler | err_handler |
dispatches single boost::asio callback with error_code
and non-error results into two different functions of the actor
. After the invocation, actor's supervisor do_process
method is called to process message queue.
The invocation is strand
-aware.