Monitors remote delegate send message timeouts. Class is thread safe. Call TransportMonitor::Process() periodically for timeout handling. Depending on the transport implementation, the message might still be delivered event if the monitor SendStatusCb callback is invoked. A timeout expiring just means that an ack was not received within the time specified.
More...
#include <TransportMonitor.h>
Monitors remote delegate send message timeouts. Class is thread safe. Call TransportMonitor::Process() periodically for timeout handling. Depending on the transport implementation, the message might still be delivered event if the monitor SendStatusCb callback is invoked. A timeout expiring just means that an ack was not received within the time specified.
◆ Status
Enumerator |
---|
SUCCESS | |
TIMEOUT | |
◆ TransportMonitor()
TransportMonitor::TransportMonitor |
( |
const dmq::Duration | timeout | ) |
|
|
inline |
◆ ~TransportMonitor()
TransportMonitor::~TransportMonitor |
( |
| ) |
|
|
inline |
◆ Add()
Add a sequence number param[in] seqNum - the delegate message sequence number param[in] remoteId - the remote ID
Implements ITransportMonitor.
◆ Process()
void TransportMonitor::Process |
( |
| ) |
|
|
inline |
Call periodically to process message timeouts.
◆ Remove()
void TransportMonitor::Remove |
( |
uint16_t | seqNum | ) |
|
|
inlinevirtual |
Remove a sequence number. Invokes SendStatusCb callback to notify registered client of removal. param[in] seqNum - the delegate message sequence number
Implements ITransportMonitor.
◆ SendStatusCb
The documentation for this class was generated from the following file: