client-cpp
0.10.0
|
#include <LoggingTransport.hpp>
Public Member Functions | |
LoggingTransport (IKaaChannelManager &manager, ILogProcessor &logProcessor, IKaaClientContext &context) | |
virtual void | sync () |
virtual std::shared_ptr < LogSyncRequest > | createLogSyncRequest () |
virtual void | onLogSyncResponse (const LogSyncResponse &response, std::size_t deliveryTime) |
Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::LOGGING > | |
virtual | ~AbstractKaaTransport () |
AbstractKaaTransport (IKaaChannelManager &channelManager, IKaaClientContext &context) | |
Public Member Functions inherited from kaa::IKaaTransport | |
virtual | ~IKaaTransport () |
Public Member Functions inherited from kaa::ILoggingTransport | |
virtual | ~ILoggingTransport () |
Additional Inherited Members | |
Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::LOGGING > | |
void | syncByType (TransportType transportType=Type) |
void | syncAll () |
void | syncAck (TransportType transportType=Type) |
Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::LOGGING > | |
const TransportType | type_ |
IKaaChannelManager & | channelManager_ |
IKaaClientContext & | context_ |
Definition at line 30 of file LoggingTransport.hpp.
kaa::LoggingTransport::LoggingTransport | ( | IKaaChannelManager & | manager, |
ILogProcessor & | logProcessor, | ||
IKaaClientContext & | context | ||
) |
|
virtual |
Creates the Log request that consists of current log records.
Implements kaa::ILoggingTransport.
|
virtual |
Updates the state of the Log collector according to the given response.
response | the response from the server |
deliveryTime | The time point the log was delivered at |
Implements kaa::ILoggingTransport.
|
virtual |
Sets the specific IKaaChannelManager for the current transport.
channelManager | manager to be set. |
Implements kaa::IKaaTransport.