client-cpp  0.6.3
kaa::ILoggingTransport Class Referenceabstract

#include <ILoggingTransport.hpp>

Public Member Functions

virtual std::shared_ptr
< LogSyncRequest > 
createLogSyncRequest ()=0
 
virtual void onLogSyncResponse (const LogSyncResponse &response)=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
virtual void kaa::ILoggingTransport::onLogSyncResponse ( const LogSyncResponse &  response)
pure virtual

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

Parameters
responsethe response from the server
See also
LogSyncResponse

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