|
DuxReiNummariae 1.1.0-alpha.19
Simple and powerful budgeting application
|
Monitors and notifies the status of a network request. More...
#include <ReplyNotifier.hpp>
Signals | |
| void | replyReceived (const pecunia::Expected< drn::networking::SuccessReply, drn::networking::FailureReply > &response) |
| Emitted when the reply for a sent request is received. | |
Public Member Functions | |
| ReplyNotifier () | |
| Fully initialises the object for use. | |
| bool | isFinished () const noexcept |
| Checks if the notification of a reply for a sent network request is finished. | |
| void | notify (const pecunia::Expected< SuccessReply, FailureReply > &response) |
| Notifies all listeners about the result of a network request. | |
Monitors and notifies the status of a network request.
| drn::networking::ReplyNotifier::ReplyNotifier | ( | ) |
Fully initialises the object for use.
|
nodiscardnoexcept |
Checks if the notification of a reply for a sent network request is finished.
| void drn::networking::ReplyNotifier::notify | ( | const pecunia::Expected< SuccessReply, FailureReply > & | response | ) |
Notifies all listeners about the result of a network request.
| response | An object containing the information of the reply. |
|
signal |
Emitted when the reply for a sent request is received.
| response | An object containing the information of the reply. |