|
client-cpp
0.0.1-SNAPSHOT
|
#include <LogCollector.hpp>
Inheritance diagram for kaa::LogCollector:
Collaboration diagram for kaa::LogCollector:Public Member Functions | |
| LogCollector () | |
| LogCollector (ILogStorage *storage, ILogStorageStatus *status, ILogUploadConfiguration *configuration, ILogUploadStrategy *strategy) | |
| void | addLogRecord (const SuperRecord &record) |
| void | setStorage (ILogStorage *storage) |
| void | setStorageStatus (ILogStorageStatus *status) |
| void | setConfiguration (ILogUploadConfiguration *configuration) |
| void | setUploadStrategy (ILogUploadStrategy *strategy) |
| LogSyncRequest | getLogUploadRequest () |
| void | onLogUploadResponse (const LogSyncResponse &response) |
| void | setTransport (LoggingTransport *transport) |
| ~LogCollector () | |
Public Member Functions inherited from kaa::ILogCollector | |
| virtual | ~ILogCollector () |
Default ILogCollector implementation.
Definition at line 34 of file LogCollector.hpp.
| kaa::LogCollector::LogCollector | ( | ) |
| kaa::LogCollector::LogCollector | ( | ILogStorage * | storage, |
| ILogStorageStatus * | status, | ||
| ILogUploadConfiguration * | configuration, | ||
| ILogUploadStrategy * | strategy | ||
| ) |
|
inline |
Definition at line 53 of file LogCollector.hpp.
|
inlinevirtual |
Adds new log record to a storage.
| record | log record to be added. |
Implements kaa::ILogCollector.
Definition at line 39 of file LogCollector.hpp.
| LogSyncRequest kaa::LogCollector::getLogUploadRequest | ( | ) |
|
virtual |
Called when log upload response arrived.
| response | Response from operations server. |
Implements kaa::ILogCollector.
|
virtual |
Provide specific log upload configurations used by ILogUploadStrategy
| storage | ILogUploadConfiguration implementation. |
Implements kaa::ILogCollector.
|
virtual |
Provide specific Log storage.
| storage | ILogStorage implementation. |
Implements kaa::ILogCollector.
|
virtual |
Provide object having information about current log storage state.
| status | ILogStorageStatus implementation. |
Implements kaa::ILogCollector.
| void kaa::LogCollector::setTransport | ( | LoggingTransport * | transport | ) |
|
virtual |
Provide specific strategy to determine if log upload is needed.
| strategy | ILogUploadStrategy implementation. |
Implements kaa::ILogCollector.