templated request, which is able to hold user-supplied payload More...
#include <request.hpp>
Public Types | |
using | request_t = T |
alias for original (unwrapped) request payload type | |
using | response_t = typename T::response_t |
alias for original (unwrapped) response payload type | |
Public Member Functions | |
template<typename... Args> | |
wrapped_request_t (request_id_t id_, const address_ptr_t &reply_to_, const address_ptr_t &origin_, Args &&...args) | |
constructs wrapper for user-supplied payload from request-id and and destination reply address | |
Public Attributes | |
T | request_payload |
original, user-supplied payload | |
Public Attributes inherited from rotor::request_base_t | |
request_id_t | id |
unique (per supervisor) request id | |
address_ptr_t | reply_to |
destination address for reply | |
address_ptr_t | origin |
the source (original) actor address, which made an request | |
templated request, which is able to hold user-supplied payload
It contains as user-supplied payload as well as rotor-specific information for request tracking (request_id, reply address).