AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.3
|
Class to handle when a client receives a duplicate publish message, or not entitled message. More...
#include <ampsplusplus.hpp>
Public Member Functions | |
virtual void | failedWrite (const Message &message_, const char *reason_, size_t reasonLength_)=0 |
Called when the server indicates a message could not be written. More... | |
Class to handle when a client receives a duplicate publish message, or not entitled message.
The default implementation just ignores the duplicates.
|
pure virtual |
Called when the server indicates a message could not be written.
If the message is present in the local Store, it is included.
message_ | The message from the store, or an unset message. |
reason_ | The reason for the failure as returned by AMPS. |
reasonLength_ | The length, in bytes, of the reason. |