AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.3
AMPS::FailedWriteHandler Class Referenceabstract

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...
 

Detailed Description

Class to handle when a client receives a duplicate publish message, or not entitled message.

The default implementation just ignores the duplicates.

Member Function Documentation

virtual void AMPS::FailedWriteHandler::failedWrite ( const Message message_,
const char *  reason_,
size_t  reasonLength_ 
)
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.

Parameters
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.

The documentation for this class was generated from the following file: