|
rad
2.0.0
|
#include <request.hpp>
Public Member Functions | |
| Request (const REQ_TYPE &req_payload) | |
| Request (const Request &r)=default | |
| Request & | operator= (const Request &r)=default |
| const REQ_TYPE & | GetRequestPayload () const |
| elt::mal::future< REP_TYPE > | GetReplyFuture () const |
| void | SetReplyValue (const REP_TYPE &reply) const |
| template<class T > | |
| void | SetException (const T &e) const |
| Request (const REQ_TYPE &req_payload) | |
| Request (const Request &r)=default | |
| Request & | operator= (const Request &r)=default |
| const REQ_TYPE & | GetRequestPayload () const |
| elt::mal::future< REP_TYPE > | GetReplyFuture () const |
| void | SetReplyValue (const REP_TYPE &reply) const |
| template<class T > | |
| void | SetException (const T &e) const |
| Request (const REQ_TYPE &req_payload) | |
| Request (const Request &r)=default | |
| Request & | operator= (const Request &r)=default |
| const REQ_TYPE & | GetRequestPayload () const |
| elt::mal::future< REP_TYPE > | GetReplyFuture () const |
| void | SetReplyValue (const REP_TYPE &reply) const |
| template<class T > | |
| void | SetException (const T &e) const |
This class contains a copy of the payload of a MAL request and allows to send a MAL reply.
| 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 a promise for the MAL reply.
| req_payload | Payload associated to the MAL request. |
| REQ_TYPE | Type of the payload associated to the MAL request. |
|
default |
Default copy constructor.
|
inlineexplicit |
This constructor copies the payload associated to a MAL request and creates a promise for the MAL reply.
| req_payload | Payload associated to the MAL request. |
| REQ_TYPE | Type of the payload associated to the MAL request. |
|
default |
Default copy constructor.
|
inlineexplicit |
This constructor copies the payload associated to a MAL request and creates a promise for the MAL reply.
| req_payload | Payload associated to the MAL request. |
| REQ_TYPE | Type of the payload associated to the MAL request. |
|
default |
Default copy constructor.
|
inline |
This method can be used to get the 'future' indicating when a reply is ready to be sent.
|
inline |
This method can be used to get the 'future' indicating when a reply is ready to be sent.
|
inline |
This method can be used to get the 'future' indicating when a reply is ready to be sent.
|
inline |
This method can be used to retrieve the payload associated to the received MAL request.
|
inline |
This method can be used to retrieve the payload associated to the received MAL request.
|
inline |
This method can be used to retrieve the payload associated to the received MAL request.
|
default |
Default assignment operator.
|
default |
Default assignment operator.
|
default |
Default assignment operator.
|
inline |
This method allows to set an error reply.
| T | Type of exception. |
| e | Exception containing error description. |
|
inline |
This method allows to set an error reply.
| T | Type of exception. |
| e | Exception containing error description. |
|
inline |
This method allows to set an error reply.
| T | Type of exception. |
| e | Exception containing error description. |
|
inline |
This method allows to set the payload for the OK reply.
| reply | Payload of the reply. |
|
inline |
This method allows to set the payload for the OK reply.
| reply | Payload of the reply. |
|
inline |
This method allows to set the payload for the OK reply.
| reply | Payload of the reply. |
1.8.5