client-cpp  0.10.0
kaa Namespace Reference

Namespaces

 kaa
 

Classes

class  BootstrapManager
 
class  BootstrapTransport
 
class  IBootstrapManager
 
class  IConnectivityChecker
 
class  IPingServerStorage
 
class  PingConnectivityChecker
 
class  GenericTransportInfo
 
class  IDataChannel
 
class  IKaaChannelManager
 
class  IKaaDataDemultiplexer
 
class  IKaaDataMultiplexer
 
class  ImpermanentDataChannel
 
class  AbstractHttpChannel
 
class  DefaultBootstrapChannel
 
class  DefaultOperationHttpChannel
 
class  DefaultOperationLongPollChannel
 
class  DefaultOperationTcpChannel
 
class  IPTransportInfo
 
class  ITransportConnectionInfo
 
class  KaaChannelManager
 
class  MetaDataTransport
 
class  RedirectionTransport
 
class  SyncDataProcessor
 
class  AbstractKaaTransport
 
class  IBootstrapTransport
 
class  IConfigurationTransport
 
class  IEventTransport
 
class  IKaaTransport
 
class  ILoggingTransport
 
class  IMetaDataTransport
 
class  INotificationTransport
 
class  IProfileTransport
 
class  IRedirectionTransport
 
class  IUserTransport
 
class  TransportProtocolId
 
class  TransportProtocolIdConstants
 
class  ClientStatus
 
class  AvroByteArrayConverter
 
class  EndpointObjectHash
 
class  BadCredentials
 The exception is thrown to indicate that something is wrong with the input identification data. More...
 
class  HttpTransportException
 
class  KaaException
 
class  TransportNotFoundException
 The exception is thrown to indicate that Kaa SDK isn't fully initialized. More...
 
class  TransportRedirectException
 The exception is thrown to indicate that transport redirect response will be processed. More...
 
class  UnavailableTopicException
 
class  UuidGenerator
 
class  ConfigurationTransport
 
class  IConfigurationHashContainer
 
class  IConfigurationProcessor
 
class  ConfigurationManager
 
class  IConfigurationManager
 
class  IConfigurationReceiver
 
class  FileConfigurationStorage
 
class  IConfigurationStorage
 
class  AbstractExecutorContext
 
class  IExecutorContext
 
class  SimpleExecutorContext
 
class  SingleThreadExecutorContext
 
struct  EndpointConnectionInfo
 
class  EventManager
 
class  EventTransport
 
class  IEventDataProcessor
 
class  IEventFamily
 
class  IEventListenersResolver
 
class  IEventManager
 
class  IFetchEventListeners
 
class  EndpointRegistrationManager
 
class  IAttachEndpointCallback
 Interface to the listener notifies of the result of whether the current endpoint has successfully attached a target endpoint. More...
 
class  IAttachStatusListener
 Interface to the listener notifies of the current endpoint is attached/detached by the another endpoint. More...
 
class  IDetachEndpointCallback
 Interface to the listener notifies of the result of whether the current endpoint has successfully detached a target endpoint. More...
 
class  IEndpointRegistrationManager
 The interface to a module which associates endpoints with users. More...
 
class  IRegistrationProcessor
 
class  IUserAttachCallback
 Interface to the listener notifies of the result of whether the current endpoint has successfully attached itself to the user. More...
 
class  UserTransport
 
class  DefaultFailoverStrategy
 
class  FailoverStrategyDecision
 
class  IFailoverStrategy
 
class  HttpClient
 
class  HttpResponse
 
class  HttpUrl
 
class  HttpUtils
 
class  IHttpClient
 
class  IHttpRequest
 
class  IHttpResponse
 
class  MultipartPostHttpRequest
 
class  IKaaClient
 
class  IKaaClientContext
 
class  IKaaClientPlatformContext
 
struct  SequenceNumber
 
class  IKaaClientStateStorage
 
class  Kaa
 Creates a new Kaa client based on IKaaClientPlatformContext and optional KaaClientStateListener. More...
 
class  KaaClient
 
class  KaaClientContext
 
class  KaaClientPlatformContext
 
class  KaaClientProperties
 
class  KaaClientStateListener
 Notifies about Kaa client state changes and errors. More...
 
class  ConnackMessage
 
class  ConnectMessage
 
class  DisconnectMessage
 
class  IKaaTcpRequest
 
class  KaaSyncRequest
 
class  KaaSyncResponse
 
class  KaaTcpCommon
 
class  KaaTcpParser
 
class  KaaTcpResponseProcessor
 
class  PingRequest
 
class  BucketInfo
 Describes a unique log bucket. More...
 
class  DefaultLogUploadStrategy
 The default ILogUploadStrategy implementation. More...
 
class  IAccessPointCommand
 
class  ILogCollector
 The public interface to the Kaa log collecting subsystem. More...
 
class  ILogDeliveryListener
 Interface of a log delivery listener. More...
 
class  ILogFailoverCommand
 
class  ILogProcessor
 
class  ILogStorage
 Interface of a log storage. More...
 
class  ILogStorageStatus
 The public interface to represent the current log storage state. More...
 
class  ILogUploadStrategy
 The public interface for the log upload strategy. More...
 
class  LogBucket
 The helper class which is used to transfer logs from LogStorage to LogCollector. More...
 
class  TimeoutInfo
 
class  LogCollector
 
class  LoggingTransport
 
class  LogRecord
 
class  LogStorageConstants
 
class  MemoryLogStorage
 The default ILogStorage implementation. More...
 
class  RecordFuture
 
class  RecordInfo
 Describes unique log record delivery info. More...
 
class  SQLiteDBLogStorage
 
class  PeriodicLogUploadStrategy
 
class  RecordCountLogUploadStrategy
 
class  RecordCountWithTimeLimitLogUploadStrategy
 
class  StorageSizeLogUploadStrategy
 
class  StorageSizeWithTimeLimitLogUploadStrategy
 
class  DefaultLogger
 
class  ILogger
 
class  LoggingUtils
 
class  INotificationListener
 The listener which receives notifications on the specified topic. More...
 
class  INotificationManager
 The public interface to topic subscription and notification delivery subsystems. More...
 
class  INotificationProcessor
 
class  INotificationTopicListListener
 The listener which receives updates on available topics. More...
 
class  NotificationManager
 
class  NotificationTransport
 
class  KaaObservable
 
class  DefaultProfileContainer
 
class  IProfileContainer
 The interface for the profile container. More...
 
class  IProfileListener
 
class  IProfileManager
 
class  ProfileManager
 
class  ProfileTransport
 
class  IEncoderDecoder
 
class  KeyUtils
 
class  RsaEncoderDecoder
 
class  KeyPair
 
class  AbstractTransactable
 
class  ITransactable
 
class  TransactionId
 
class  HttpDataProcessor
 
class  TransportException
 
class  IThreadPool
 
class  KaaTimer
 
class  ThreadPool
 
class  TimeUtils
 

Typedefs

typedef std::shared_ptr
< IConnectivityChecker
ConnectivityCheckerPtr
 
typedef IDataChannelIDataChannelPtr
 
typedef IKaaChannelManagerIKaaChannelManagerPtr
 
typedef std::shared_ptr
< ITransportConnectionInfo
ITransportConnectionInfoPtr
 
typedef std::shared_ptr
< IMetaDataTransport
IMetaDataTransportPtr
 
typedef std::shared_ptr
< IBootstrapTransport
IBootstrapTransportPtr
 
typedef std::shared_ptr
< IConfigurationTransport
IConfigurationTransportPtr
 
typedef std::shared_ptr
< INotificationTransport
INotificationTransportPtr
 
typedef std::shared_ptr
< IUserTransport
IUserTransportPtr
 
typedef std::shared_ptr
< IEventTransport
IEventTransportPtr
 
typedef std::shared_ptr
< ILoggingTransport
ILoggingTransportPtr
 
typedef std::shared_ptr
< IRedirectionTransport
IRedirectionTransportPtr
 
typedef std::shared_ptr
< IKaaTransport
IKaaTransportPtr
 
typedef std::list
< SubscriptionCommand > 
SubscriptionCommands
 
typedef std::shared_ptr
< NotificationSyncRequest > 
NotificationSyncRequestPtr
 
typedef std::shared_ptr
< ProfileSyncRequest > 
ProfileSyncRequestPtr
 
typedef std::shared_ptr
< IProfileTransport
IProfileTransportPtr
 
typedef boost::bimaps::bimap
< boost::bimaps::set_of
< ClientParameterT >
, boost::bimaps::set_of
< std::string >
, boost::bimaps::left_based > 
bimap
 
typedef std::pair
< boost::shared_array
< std::uint8_t >
, std::uint32_t > 
SharedDataBuffer
 
typedef std::vector< std::uint8_t > HashDigest
 
typedef std::shared_ptr
< IConfigurationHashContainer
IConfigurationHashContainerPtr
 
typedef std::shared_ptr
< IConfigurationProcessor
IConfigurationProcessorPtr
 
typedef std::shared_ptr
< IConfigurationManager
IConfigurationManagerPtr
 
typedef std::shared_ptr
< IConfigurationStorage
IConfigurationStoragePtr
 
typedef std::shared_ptr
< IExecutorContext
IExecutorContextPtr
 
typedef std::list< std::string > FQNList
 
typedef std::shared_ptr
< IFetchEventListeners
IFetchEventListenersPtr
 
typedef std::shared_ptr
< IAttachEndpointCallback
IAttachEndpointCallbackPtr
 
typedef std::shared_ptr
< IAttachStatusListener
IAttachStatusListenerPtr
 
typedef std::shared_ptr
< IDetachEndpointCallback
IDetachEndpointCallbackPtr
 
typedef std::shared_ptr
< UserAttachRequest > 
UserAttachRequestPtr
 
typedef std::shared_ptr
< IUserAttachCallback
IUserAttachCallbackPtr
 
typedef std::shared_ptr
< IFailoverStrategy
IFailoverStrategyPtr
 
typedef std::pair
< boost::shared_array
< std::uint8_t >, size_t > 
SharedBody
 
typedef std::shared_ptr
< IKaaClientPlatformContext
IKaaClientPlatformContextPtr
 
typedef std::map< std::string,
std::string > 
AttachedEndpoints
 
typedef std::map< std::int64_t,
std::int32_t > 
TopicStates
 
typedef std::shared_ptr
< IKaaClientStateStorage
IKaaClientStateStoragePtr
 
using KaaClientStateListenerPtr = std::shared_ptr< KaaClientStateListener >
 
typedef std::vector
< ITransportConnectionInfoPtr
BootstrapServers
 
typedef std::pair
< KaaTcpMessageType, std::pair
< boost::shared_array< char >
, std::uint32_t > > 
MessageRecord
 
typedef std::list< MessageRecordMessageRecordList
 
typedef std::shared_ptr
< ILogDeliveryListener
ILogDeliveryListenerPtr
 
typedef std::shared_ptr
< ILogStorage
ILogStoragePtr
 
typedef std::shared_ptr
< ILogUploadStrategy
ILogUploadStrategyPtr
 
typedef std::chrono::system_clock clock_t
 
typedef std::shared_ptr< ILoggerLoggerPtr
 
typedef std::shared_ptr
< IProfileContainer
IProfileContainerPtr
 
typedef std::shared_ptr
< IProfileListener
ProfileListenerPtr
 
typedef Botan::secure_vector
< std::uint8_t > 
PublicKey
 
typedef std::string PrivateKey
 
typedef Botan::SymmetricKey SessionKey
 
typedef Botan::secure_vector
< std::uint8_t > 
EncodedSessionKey
 
typedef Botan::secure_vector
< std::uint8_t > 
Signature
 
typedef std::shared_ptr
< TransactionId
TransactionIdPtr
 
typedef std::shared_ptr
< HttpDataProcessor
HttpDataProcessorPtr
 
typedef std::function< void()> ThreadPoolTask
 
typedef std::shared_ptr
< IThreadPool
IThreadPoolPtr
 

Enumerations

enum  ChannelDirection { UP, DOWN, BIDIRECTIONAL }
 
enum  DemultiplexerReturnCode { DemultiplexerReturnCode::SUCCESS = 0, DemultiplexerReturnCode::FAILURE, DemultiplexerReturnCode::REDIRECT }
 
enum  ServerType { ServerType::BOOTSTRAP, ServerType::OPERATIONS }
 
enum  HttpStatusCode { OK = 200, UNAUTHORIZED = 401, FORBIDDEN = 403 }
 
enum  TransportType {
  TransportType::BOOTSTRAP = 0, TransportType::PROFILE, TransportType::CONFIGURATION, TransportType::NOTIFICATION,
  TransportType::USER, TransportType::EVENT, TransportType::LOGGING
}
 
enum  KaaFailoverReason {
  KaaFailoverReason::ALL_BOOTSTRAP_SERVERS_NA, KaaFailoverReason::NO_OPERATIONS_SERVERS_RECEIVED, KaaFailoverReason::ALL_OPERATIONS_SERVERS_NA, KaaFailoverReason::CURRENT_BOOTSTRAP_SERVER_NA,
  KaaFailoverReason::CURRENT_OPERATIONS_SERVER_NA, KaaFailoverReason::NO_CONNECTIVITY, KaaFailoverReason::ENDPOINT_NOT_REGISTERED, KaaFailoverReason::CREDENTIALS_REVOKED
}
 
enum  FailoverStrategyAction {
  FailoverStrategyAction::NOOP, FailoverStrategyAction::RETRY_CURRENT_SERVER, FailoverStrategyAction::USE_NEXT_BOOTSTRAP_SERVER, FailoverStrategyAction::USE_NEXT_OPERATIONS_SERVER,
  FailoverStrategyAction::STOP_CLIENT
}
 
enum  ConnackReturnCode : std::uint8_t {
  ConnackReturnCode::UNKNOWN = 0x00, ConnackReturnCode::ACCEPTED = 0x01, ConnackReturnCode::REFUSE_BAD_PROTOCOL = 0x02, ConnackReturnCode::REFUSE_ID_REJECT = 0x03,
  ConnackReturnCode::REFUSE_SERVER_UNAVAILABLE = 0x04, ConnackReturnCode::REFUSE_BAD_CREDENTIALS = 0x05, ConnackReturnCode::REFUSE_NO_AUTH = 0x06, ConnackReturnCode::REFUSE_VERIFICATION_FAILED = 0x10
}
 
enum  DisconnectReason : std::uint8_t { DisconnectReason::NONE = 0x00, DisconnectReason::BAD_REQUEST = 0x01, DisconnectReason::INTERNAL_ERROR = 0x02, DisconnectReason::CREDENTIALS_REVOKED = 0x03 }
 
enum  KaaSyncMessageType : std::uint8_t { KaaSyncMessageType::UNUSED = 0x0, KaaSyncMessageType::SYNC = 0x1, KaaSyncMessageType::BOOTSTRAP = 0x2 }
 
enum  KaaTcpMessageType : std::uint8_t {
  KaaTcpMessageType::MESSAGE_UNKNOWN = 0x00, KaaTcpMessageType::MESSAGE_CONNECT = 0x01, KaaTcpMessageType::MESSAGE_CONNACK = 0x02, KaaTcpMessageType::MESSAGE_PINGREQ = 0x0C,
  KaaTcpMessageType::MESSAGE_PINGRESP = 0x0D, KaaTcpMessageType::MESSAGE_DISCONNECT = 0x0E, KaaTcpMessageType::MESSAGE_KAASYNC = 0x0F
}
 
enum  KaaTcpParserState : std::uint8_t { KaaTcpParserState::NONE = 0x00, KaaTcpParserState::PROCESSING_LENGTH = 0x01, KaaTcpParserState::PROCESSING_PAYLOAD = 0x02 }
 
enum  LogUploadStrategyDecision { LogUploadStrategyDecision::NOOP = 0, LogUploadStrategyDecision::UPLOAD }
 Log upload decisions. More...
 
enum  SQLiteOptimizationOptions {
  SQLITE_NO_OPTIMIZATIONS = 0x0, SQLITE_SYNCHRONOUS_OFF = 0x1, SQLITE_MEMORY_JOURNAL_MODE = 0x2, SQLITE_MEMORY_TEMP_STORE = 0x4,
  SQLITE_COUNT_CHANGES_OFF = 0x8, SQLITE_ALL_OPTIMIZATIONS
}
 
enum  LogLevel {
  LogLevel::KAA_TRACE = 0, LogLevel::KAA_DEBUG, LogLevel::KAA_INFO, LogLevel::KAA_WARNING,
  LogLevel::KAA_ERROR, LogLevel::KAA_FATAL
}
 

Functions

const BootstrapServersgetBootstrapServers ()
 
const Botan::secure_vector
< std::uint8_t > & 
getDefaultConfigData ()
 
HashDigest getPropertiesHash ()
 

Variables

const char *const BUILD_VERSION
 
const char *const BUILD_COMMIT_HASH
 
const char *const SDK_TOKEN
 
const std::uint32_t POLLING_PERIOD_SECONDS
 
const char *const CLIENT_PUB_KEY_LOCATION
 
const char *const CLIENT_PRIV_KEY_LOCATION
 
const char *const CLIENT_STATUS_FILE_LOCATION
 
const char *const DEFAULT_USER_VERIFIER_TOKEN
 

Typedef Documentation

typedef std::map<std::string, std::string> kaa::AttachedEndpoints

Definition at line 32 of file IKaaClientStateStorage.hpp.

typedef boost::bimaps::bimap< boost::bimaps::set_of<ClientParameterT> , boost::bimaps::set_of<std::string> , boost::bimaps::left_based> kaa::bimap

Definition at line 36 of file ClientStatus.hpp.

Definition at line 61 of file KaaDefaults.hpp.

typedef std::chrono::system_clock kaa::clock_t

Definition at line 42 of file LogCollector.hpp.

Definition at line 39 of file IConnectivityChecker.hpp.

typedef Botan::secure_vector<std::uint8_t> kaa::EncodedSessionKey

Definition at line 29 of file SecurityDefinitions.hpp.

typedef std::list<std::string> kaa::FQNList

Definition at line 30 of file IEventFamily.hpp.

typedef std::vector<std::uint8_t> kaa::HashDigest

Definition at line 30 of file EndpointObjectHash.hpp.

typedef std::shared_ptr<HttpDataProcessor> kaa::HttpDataProcessorPtr

Definition at line 67 of file HttpDataProcessor.hpp.

Definition at line 48 of file IAttachEndpointCallback.hpp.

Definition at line 51 of file IAttachStatusListener.hpp.

Definition at line 40 of file SyncDataProcessor.hpp.

Definition at line 75 of file IConfigurationManager.hpp.

Definition at line 48 of file IConfigurationProcessor.hpp.

Definition at line 56 of file IConfigurationStorage.hpp.

Definition at line 41 of file SyncDataProcessor.hpp.

Definition at line 168 of file IDataChannel.hpp.

Definition at line 45 of file IDetachEndpointCallback.hpp.

typedef std::shared_ptr<IEventTransport> kaa::IEventTransportPtr

Definition at line 44 of file SyncDataProcessor.hpp.

typedef std::shared_ptr<IExecutorContext> kaa::IExecutorContextPtr

Definition at line 63 of file IExecutorContext.hpp.

typedef std::shared_ptr<IFailoverStrategy> kaa::IFailoverStrategyPtr

Definition at line 34 of file IFailoverStrategy.hpp.

Definition at line 54 of file IFetchEventListeners.hpp.

Definition at line 79 of file IKaaClientStateStorage.hpp.

typedef std::shared_ptr<IKaaTransport> kaa::IKaaTransportPtr

Definition at line 46 of file IKaaTransport.hpp.

Definition at line 57 of file ILogDeliveryListener.hpp.

typedef std::shared_ptr<ILoggingTransport> kaa::ILoggingTransportPtr

Definition at line 45 of file SyncDataProcessor.hpp.

typedef std::shared_ptr<ILogStorage> kaa::ILogStoragePtr

Definition at line 93 of file ILogStorage.hpp.

Definition at line 107 of file ILogUploadStrategy.hpp.

Definition at line 39 of file SyncDataProcessor.hpp.

Definition at line 42 of file SyncDataProcessor.hpp.

typedef std::shared_ptr<IProfileContainer> kaa::IProfileContainerPtr

Definition at line 43 of file IProfileContainer.hpp.

typedef std::shared_ptr<IProfileTransport> kaa::IProfileTransportPtr

Definition at line 73 of file IProfileTransport.hpp.

Definition at line 46 of file SyncDataProcessor.hpp.

typedef std::shared_ptr<IThreadPool> kaa::IThreadPoolPtr

Definition at line 68 of file IThreadPool.hpp.

Definition at line 81 of file ITransportConnectionInfo.hpp.

Definition at line 52 of file IUserAttachCallback.hpp.

typedef std::shared_ptr<IUserTransport> kaa::IUserTransportPtr

Definition at line 43 of file SyncDataProcessor.hpp.

using kaa::KaaClientStateListenerPtr = typedef std::shared_ptr<KaaClientStateListener>

Definition at line 101 of file KaaClientStateListener.hpp.

typedef std::shared_ptr<ILogger> kaa::LoggerPtr

Definition at line 40 of file ILogger.hpp.

typedef std::pair<KaaTcpMessageType, std::pair<boost::shared_array<char>, std::uint32_t> > kaa::MessageRecord

Definition at line 29 of file KaaTcpParser.hpp.

Definition at line 30 of file KaaTcpParser.hpp.

typedef std::shared_ptr<NotificationSyncRequest> kaa::NotificationSyncRequestPtr

Definition at line 28 of file INotificationTransport.hpp.

typedef std::string kaa::PrivateKey

Definition at line 26 of file SecurityDefinitions.hpp.

typedef std::shared_ptr<IProfileListener> kaa::ProfileListenerPtr

Definition at line 26 of file IProfileListener.hpp.

typedef std::shared_ptr<ProfileSyncRequest> kaa::ProfileSyncRequestPtr

Definition at line 26 of file IProfileTransport.hpp.

typedef Botan::secure_vector<std::uint8_t> kaa::PublicKey

Definition at line 25 of file SecurityDefinitions.hpp.

typedef Botan::SymmetricKey kaa::SessionKey

Definition at line 28 of file SecurityDefinitions.hpp.

typedef std::pair<boost::shared_array<std::uint8_t>, size_t> kaa::SharedBody

Definition at line 29 of file IHttpResponse.hpp.

typedef std::pair<boost::shared_array<std::uint8_t>, std::uint32_t> kaa::SharedDataBuffer

Definition at line 29 of file EndpointObjectHash.hpp.

typedef Botan::secure_vector<std::uint8_t> kaa::Signature

Definition at line 31 of file SecurityDefinitions.hpp.

typedef std::list<SubscriptionCommand> kaa::SubscriptionCommands

Definition at line 27 of file INotificationTransport.hpp.

typedef std::function<void()> kaa::ThreadPoolTask

Definition at line 26 of file IThreadPool.hpp.

typedef std::map<std::int64_t, std::int32_t> kaa::TopicStates

Definition at line 33 of file IKaaClientStateStorage.hpp.

typedef std::shared_ptr<TransactionId> kaa::TransactionIdPtr

Definition at line 68 of file TransactionId.hpp.

typedef std::shared_ptr<UserAttachRequest> kaa::UserAttachRequestPtr

Definition at line 31 of file IRegistrationProcessor.hpp.

Enumeration Type Documentation

Describes traffic direction that channel supports.

Enumerator
UP 

From the endpoint to the server

DOWN 

From the server to the enpoint

BIDIRECTIONAL 

In both way

Definition at line 25 of file ChannelDirection.hpp.

enum kaa::ConnackReturnCode : std::uint8_t
strong
Enumerator
UNKNOWN 
ACCEPTED 
REFUSE_BAD_PROTOCOL 
REFUSE_ID_REJECT 
REFUSE_SERVER_UNAVAILABLE 
REFUSE_BAD_CREDENTIALS 
REFUSE_NO_AUTH 
REFUSE_VERIFICATION_FAILED 

Definition at line 25 of file ConnackMessage.hpp.

Enumerator
SUCCESS 
FAILURE 
REDIRECT 

Definition at line 25 of file IKaaDataDemultiplexer.hpp.

enum kaa::DisconnectReason : std::uint8_t
strong
Enumerator
NONE 
BAD_REQUEST 
INTERNAL_ERROR 
CREDENTIALS_REVOKED 

Definition at line 28 of file DisconnectMessage.hpp.

Enumerator
NOOP 

No action.

RETRY_CURRENT_SERVER 

Connect again to a current Bootstrap/Operations server.

USE_NEXT_BOOTSTRAP_SERVER 

Connect to a next Bootstrap server.

Note
In conjunction with KaaFailoverReason::ALL_BOOTSTRAP_SERVERS_NA lead to switching to the first Bootstrap server.
USE_NEXT_OPERATIONS_SERVER 

Connect to a next Operations server.

STOP_CLIENT 

Stop a Kaa client.

Definition at line 68 of file FailoverCommon.hpp.

Enumerator
OK 
UNAUTHORIZED 
FORBIDDEN 

Definition at line 26 of file HttpTransportException.hpp.

Enumerator
ALL_BOOTSTRAP_SERVERS_NA 

An endpoint could not establish a connection/session to all Bootstrap server.

NO_OPERATIONS_SERVERS_RECEIVED 

An endpoint received the empty list of Operations servers.

ALL_OPERATIONS_SERVERS_NA 

An endpoint could not establish a connection/session to all Operations server.

CURRENT_BOOTSTRAP_SERVER_NA 

An endpoint could not establish a connection/session to a Bootstrap server.

CURRENT_OPERATIONS_SERVER_NA 

An endpoint could not establish a connection/session to a Operations server.

NO_CONNECTIVITY 

No physical connection.

ENDPOINT_NOT_REGISTERED 

An endpoint provided a server with not enough or incorrect information about itself.

CREDENTIALS_REVOKED 

The endpoint credentials were revoked from a server.

Definition at line 25 of file FailoverCommon.hpp.

enum kaa::KaaSyncMessageType : std::uint8_t
strong
Enumerator
UNUSED 
SYNC 
BOOTSTRAP 

Definition at line 31 of file KaaSyncRequest.hpp.

enum kaa::KaaTcpMessageType : std::uint8_t
strong
Enumerator
MESSAGE_UNKNOWN 
MESSAGE_CONNECT 
MESSAGE_CONNACK 
MESSAGE_PINGREQ 
MESSAGE_PINGRESP 
MESSAGE_DISCONNECT 
MESSAGE_KAASYNC 

Definition at line 24 of file KaaTcpCommon.hpp.

enum kaa::KaaTcpParserState : std::uint8_t
strong
Enumerator
NONE 
PROCESSING_LENGTH 
PROCESSING_PAYLOAD 

Definition at line 32 of file KaaTcpParser.hpp.

enum kaa::LogLevel
strong
Enumerator
KAA_TRACE 
KAA_DEBUG 
KAA_INFO 
KAA_WARNING 
KAA_ERROR 
KAA_FATAL 

Definition at line 24 of file ILogger.hpp.

Log upload decisions.

Enumerator
NOOP 

Nothing to be done.

UPLOAD 

Initiate log upload.

Definition at line 36 of file ILogUploadStrategy.hpp.

enum kaa::ServerType
strong
Enumerator
BOOTSTRAP 
OPERATIONS 

Definition at line 22 of file ServerType.hpp.

Enumerator
SQLITE_NO_OPTIMIZATIONS 
SQLITE_SYNCHRONOUS_OFF 
SQLITE_MEMORY_JOURNAL_MODE 
SQLITE_MEMORY_TEMP_STORE 
SQLITE_COUNT_CHANGES_OFF 
SQLITE_ALL_OPTIMIZATIONS 

Definition at line 41 of file SQLiteDBLogStorage.hpp.

enum kaa::TransportType
strong

TransportTypes - enum with list of all possible transport types which every Channel can support.

Enumerator
BOOTSTRAP 
PROFILE 
CONFIGURATION 
NOTIFICATION 
USER 
EVENT 
LOGGING 

Definition at line 27 of file TransportType.hpp.

Function Documentation

const BootstrapServers& kaa::getBootstrapServers ( )
const Botan::secure_vector<std::uint8_t>& kaa::getDefaultConfigData ( )
HashDigest kaa::getPropertiesHash ( )

Variable Documentation

const char* const kaa::BUILD_COMMIT_HASH
const char* const kaa::BUILD_VERSION

Base endpoint configuration

const char* const kaa::CLIENT_PRIV_KEY_LOCATION
const char* const kaa::CLIENT_PUB_KEY_LOCATION
const char* const kaa::CLIENT_STATUS_FILE_LOCATION
const char* const kaa::DEFAULT_USER_VERIFIER_TOKEN
const std::uint32_t kaa::POLLING_PERIOD_SECONDS
const char* const kaa::SDK_TOKEN