rad
2.0.0
|
#include <request.hpp>
Public Member Functions | |
Request () | |
Request (const Request &r)=default | |
Request & | operator= (const Request &r)=default |
elt::mal::future< REP_TYPE > | GetReplyFuture () const |
void | SetReplyValue (const REP_TYPE &reply) const |
template<class T > | |
void | SetException (const T &e) const |
Request () | |
Request (const Request &r)=default | |
Request & | operator= (const Request &r)=default |
elt::mal::future< REP_TYPE > | GetReplyFuture () const |
void | SetReplyValue (const REP_TYPE &reply) const |
template<class T > | |
void | SetException (const T &e) const |
Request () | |
Request (const Request &r)=default | |
Request & | operator= (const Request &r)=default |
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 allows to send a MAL reply to a request WITHOUT payload.
REP_TYPE | Type of the reply's payload. |
|
inline |
Default constructor that creates a promise associated to the MAL reply.
|
default |
Default copy constructor.
|
inline |
Default constructor that creates a promise associated to the MAL reply.
|
default |
Default copy constructor.
|
inline |
Default constructor that creates a promise associated to the MAL reply.
|
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.
|
default |
Default assignment operator.
|
default |
Default assignment operator.
|
default |
Default assignment operator.
|
inline |
This method allows to set the payload for an ERROR reply.
T | Type of exception. |
e | Exception containing error description. |
|
inline |
This method allows to set the payload for an ERROR reply.
T | Type of exception. |
e | Exception containing error description. |
|
inline |
This method allows to set the payload for 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. |