rad 6.2.0
|
#include <request.hpp>
Public Member Functions | |
RequestAmi (const REQ_TYPE &req_payload) | |
Default copy constructors. | |
RequestAmi (const RequestAmi &)=default | |
RequestAmi (RequestAmi &&) noexcept(std::is_nothrow_move_constructible< REQ_TYPE >())=default | |
Default assignment operators. | |
RequestAmi & | operator= (const RequestAmi &)=default |
RequestAmi & | operator= (RequestAmi &&) noexcept(std::is_nothrow_move_assignable_v< REQ_TYPE >)=default |
const REQ_TYPE & | GetRequestPayload () const |
bool | SetPartialReplyValue (const REP_TYPE &reply) const |
bool | SetFinalReplyValue (const REP_TYPE &reply) const |
std::shared_ptr<::elt::mal::rr::Ami< REP_TYPE > > | GetAmiServer () |
This class allows to deal with MAL requests WITH payload that returns multiple (partial) replies.
REP_TYPE | Type of the reply's payload. |
REQ_TYPE | Type of the request's payload (default is 'void'). |
|
inlineexplicit |
This constructor copies the payload associated to a MAL request and creates an AMI object for the MAL partial reply.
req_payload | Payload associated to the MAL request. |
REQ_TYPE | Type of the payload associated to the MAL request. |
|
default |
|
defaultnoexcept |
|
inline |
TODO when is this method needed?
|
inline |
|
default |
|
defaultnoexcept |
|
inline |
This method allows to set the payload for the final reply.
reply | Payload of the reply. |
|
inline |
This method allows to set the payload for a partial reply.
reply | Payload of the reply. |