client-cpp  0.10.0
kaa::ILoggingTransport Class Referenceabstract

#include <ILoggingTransport.hpp>

+ Inheritance diagram for kaa::ILoggingTransport:

Public Member Functions

virtual std::shared_ptr
< LogSyncRequest > 
createLogSyncRequest ()=0
 
virtual void onLogSyncResponse (const LogSyncResponse &response, std::size_t deliveryTime)=0
 
virtual ~ILoggingTransport ()
 

Detailed Description

Used for sending logs to the remote server.

Definition at line 28 of file ILoggingTransport.hpp.

Constructor & Destructor Documentation

virtual kaa::ILoggingTransport::~ILoggingTransport ( )
inlinevirtual

Definition at line 48 of file ILoggingTransport.hpp.

Member Function Documentation

virtual std::shared_ptr<LogSyncRequest> kaa::ILoggingTransport::createLogSyncRequest ( )
pure virtual

Creates the Log request that consists of current log records.

Returns
new Log request
See Also
LogSyncRequest

Implemented in kaa::LoggingTransport.

virtual void kaa::ILoggingTransport::onLogSyncResponse ( const LogSyncResponse &  response,
std::size_t  deliveryTime 
)
pure virtual

Updates the state of the Log collector according to the given response.

Parameters
responsethe response from the server
See Also
LogSyncResponse
Parameters
deliveryTimeThe time point the log was delivered at

Implemented in kaa::LoggingTransport.


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