client-cpp
0.8.1
|
Namespaces | |
kaa | |
Typedefs | |
typedef std::shared_ptr < IConnectivityChecker > | ConnectivityCheckerPtr |
typedef IDataChannel * | IDataChannelPtr |
typedef IKaaChannelManager * | IKaaChannelManagerPtr |
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::shared_ptr < IKaaClientStateListener > | IKaaClientStateListenerPtr |
typedef std::map< std::string, std::string > | AttachedEndpoints |
typedef std::map< std::int64_t, std::int32_t > | TopicStates |
typedef std::shared_ptr < IKaaClientStateStorage > | IKaaClientStateStoragePtr |
typedef std::vector < ITransportConnectionInfoPtr > | BootstrapServers |
typedef std::pair < KaaTcpMessageType, std::pair < boost::shared_array< char > , std::uint32_t > > | MessageRecord |
typedef std::list< MessageRecord > | MessageRecordList |
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< ILogger > | LoggerPtr |
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 |
Functions | |
const BootstrapServers & | getBootstrapServers () |
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 |
Copyright 2014-2016 CyberVision, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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.
typedef std::vector<ITransportConnectionInfoPtr> kaa::BootstrapServers |
Definition at line 61 of file KaaDefaults.hpp.
typedef std::chrono::system_clock kaa::clock_t |
Definition at line 42 of file LogCollector.hpp.
typedef std::shared_ptr<IConnectivityChecker> kaa::ConnectivityCheckerPtr |
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.
typedef std::shared_ptr<IAttachEndpointCallback> kaa::IAttachEndpointCallbackPtr |
Definition at line 48 of file IAttachEndpointCallback.hpp.
typedef std::shared_ptr<IAttachStatusListener> kaa::IAttachStatusListenerPtr |
Definition at line 51 of file IAttachStatusListener.hpp.
typedef std::shared_ptr<IBootstrapTransport> kaa::IBootstrapTransportPtr |
Definition at line 40 of file SyncDataProcessor.hpp.
typedef std::shared_ptr<IConfigurationHashContainer> kaa::IConfigurationHashContainerPtr |
Definition at line 45 of file IConfigurationHashContainer.hpp.
typedef std::shared_ptr<IConfigurationManager> kaa::IConfigurationManagerPtr |
Definition at line 75 of file IConfigurationManager.hpp.
typedef std::shared_ptr<IConfigurationProcessor> kaa::IConfigurationProcessorPtr |
Definition at line 48 of file IConfigurationProcessor.hpp.
typedef std::shared_ptr<IConfigurationStorage> kaa::IConfigurationStoragePtr |
Definition at line 56 of file IConfigurationStorage.hpp.
typedef std::shared_ptr<IConfigurationTransport> kaa::IConfigurationTransportPtr |
Definition at line 41 of file SyncDataProcessor.hpp.
typedef IDataChannel* kaa::IDataChannelPtr |
Definition at line 168 of file IDataChannel.hpp.
typedef std::shared_ptr<IDetachEndpointCallback> kaa::IDetachEndpointCallbackPtr |
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 72 of file IFailoverStrategy.hpp.
typedef std::shared_ptr<IFetchEventListeners> kaa::IFetchEventListenersPtr |
Definition at line 54 of file IFetchEventListeners.hpp.
Definition at line 161 of file IKaaChannelManager.hpp.
typedef std::shared_ptr<IKaaClientPlatformContext> kaa::IKaaClientPlatformContextPtr |
Definition at line 62 of file IKaaClientPlatformContext.hpp.
typedef std::shared_ptr<IKaaClientStateListener> kaa::IKaaClientStateListenerPtr |
Definition at line 90 of file IKaaClientStateListener.hpp.
typedef std::shared_ptr<IKaaClientStateStorage> kaa::IKaaClientStateStoragePtr |
Definition at line 79 of file IKaaClientStateStorage.hpp.
typedef std::shared_ptr<IKaaTransport> kaa::IKaaTransportPtr |
Definition at line 46 of file IKaaTransport.hpp.
typedef std::shared_ptr<ILogDeliveryListener> kaa::ILogDeliveryListenerPtr |
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.
typedef std::shared_ptr<ILogUploadStrategy> kaa::ILogUploadStrategyPtr |
Definition at line 107 of file ILogUploadStrategy.hpp.
typedef std::shared_ptr<IMetaDataTransport> kaa::IMetaDataTransportPtr |
Definition at line 39 of file SyncDataProcessor.hpp.
typedef std::shared_ptr<INotificationTransport> kaa::INotificationTransportPtr |
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.
typedef std::shared_ptr<IRedirectionTransport> kaa::IRedirectionTransportPtr |
Definition at line 46 of file SyncDataProcessor.hpp.
typedef std::shared_ptr<IThreadPool> kaa::IThreadPoolPtr |
Definition at line 40 of file IThreadPool.hpp.
typedef std::shared_ptr<ITransportConnectionInfo> kaa::ITransportConnectionInfoPtr |
Definition at line 82 of file ITransportConnectionInfo.hpp.
typedef std::shared_ptr<IUserAttachCallback> kaa::IUserAttachCallbackPtr |
Definition at line 52 of file IUserAttachCallback.hpp.
typedef std::shared_ptr<IUserTransport> kaa::IUserTransportPtr |
Definition at line 43 of file SyncDataProcessor.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.
typedef std::list<MessageRecord> kaa::MessageRecordList |
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.
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.
|
strong |
Enumerator | |
---|---|
UNKNOWN | |
ACCEPTED | |
REFUSE_BAD_PROTOCOL | |
REFUSE_ID_REJECT | |
REFUSE_SERVER_UNAVAILABLE | |
REFUSE_BAD_CREDENTIALS | |
REFUSE_NO_AUTH |
Definition at line 25 of file ConnackMessage.hpp.
|
strong |
Enumerator | |
---|---|
SUCCESS | |
FAILURE | |
REDIRECT |
Definition at line 25 of file IKaaDataDemultiplexer.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
BAD_REQUEST | |
INTERNAL_ERROR |
Definition at line 28 of file DisconnectMessage.hpp.
|
strong |
Enumerator | |
---|---|
BOOTSTRAP_SERVERS_NA |
No accessible bootstrap servers. |
NO_OPERATION_SERVERS_RECEIVED | |
OPERATION_SERVERS_NA | |
CURRENT_BOOTSTRAP_SERVER_NA | |
NO_CONNECTIVITY |
Definition at line 25 of file IFailoverStrategy.hpp.
|
strong |
Enumerator | |
---|---|
NOOP |
Nothing to be done. |
RETRY |
Initiate log upload. |
USE_NEXT_BOOTSTRAP | |
USE_NEXT_OPERATIONS | |
STOP_APP |
Definition at line 33 of file IFailoverStrategy.hpp.
enum kaa::HttpStatusCode |
Enumerator | |
---|---|
OK | |
UNAUTHORIZED |
Definition at line 26 of file HttpTransportException.hpp.
|
strong |
Enumerator | |
---|---|
UNUSED | |
SYNC | |
BOOTSTRAP |
Definition at line 31 of file KaaSyncRequest.hpp.
|
strong |
Enumerator | |
---|---|
MESSAGE_UNKNOWN | |
MESSAGE_CONNECT | |
MESSAGE_CONNACK | |
MESSAGE_PINGREQ | |
MESSAGE_PINGRESP | |
MESSAGE_DISCONNECT | |
MESSAGE_KAASYNC |
Definition at line 24 of file KaaTcpCommon.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
PROCESSING_LENGTH | |
PROCESSING_PAYLOAD |
Definition at line 32 of file KaaTcpParser.hpp.
|
strong |
Enumerator | |
---|---|
KAA_TRACE | |
KAA_DEBUG | |
KAA_INFO | |
KAA_WARNING | |
KAA_ERROR | |
KAA_FATAL |
Definition at line 24 of file ILogger.hpp.
|
strong |
Log upload decisions.
Enumerator | |
---|---|
NOOP |
Nothing to be done. |
UPLOAD |
Initiate log upload. |
Definition at line 36 of file ILogUploadStrategy.hpp.
|
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.
|
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.
const BootstrapServers& kaa::getBootstrapServers | ( | ) |
const Botan::secure_vector<std::uint8_t>& kaa::getDefaultConfigData | ( | ) |
HashDigest kaa::getPropertiesHash | ( | ) |
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 |