client-cpp  0.10.0
kaa::ILogDeliveryListener Class Referenceabstract

Interface of a log delivery listener. More...

#include <ILogDeliveryListener.hpp>

Public Member Functions

virtual void onLogDeliverySuccess (const BucketInfo &bucketInfo)=0
 Callback is used when a log bucket is delivered to a server. More...
 
virtual void onLogDeliveryFailure (const BucketInfo &bucketInfo)=0
 Callback is used when a log bucket is not delivered due to some failure. More...
 
virtual void onLogDeliveryTimeout (const BucketInfo &bucketInfo)=0
 Callback is used when a timeout is occurred while waiting a delivery status from a server. More...
 
virtual ~ILogDeliveryListener ()
 

Detailed Description

Interface of a log delivery listener.

Definition at line 29 of file ILogDeliveryListener.hpp.

Constructor & Destructor Documentation

virtual kaa::ILogDeliveryListener::~ILogDeliveryListener ( )
inlinevirtual

Definition at line 54 of file ILogDeliveryListener.hpp.

Member Function Documentation

virtual void kaa::ILogDeliveryListener::onLogDeliveryFailure ( const BucketInfo bucketInfo)
pure virtual

Callback is used when a log bucket is not delivered due to some failure.

Note
The bucket will be re-sent to a server.
Parameters
[in]bucketInfoThe information about a log bucket.
See Also
BucketInfo
virtual void kaa::ILogDeliveryListener::onLogDeliverySuccess ( const BucketInfo bucketInfo)
pure virtual

Callback is used when a log bucket is delivered to a server.

Parameters
[in]bucketInfoThe information about a log bucket.
See Also
BucketInfo
virtual void kaa::ILogDeliveryListener::onLogDeliveryTimeout ( const BucketInfo bucketInfo)
pure virtual

Callback is used when a timeout is occurred while waiting a delivery status from a server.

Note
The bucket will be re-sent to a server.
Parameters
[in]bucketInfoThe information about a log bucket.
See Also
BucketInfo

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