client-cpp  0.0.1-SNAPSHOT
KaaDefaults.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2014 CyberVision, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef KAADEFAULTS_HPP_
18 #define KAADEFAULTS_HPP_
19 
20 #include <map>
21 #include <list>
22 #include <string>
23 
24 #include <botan/base64.h>
25 #include <boost/cstdint.hpp>
26 
28 
29 namespace kaa {
30 
35 extern const char * const APPLICATION_TOKEN;
36 
37 extern const boost::uint32_t PROFILE_VERSION;
38 
39 extern const boost::uint32_t CONFIG_VERSION;
40 
41 extern const boost::uint32_t SYSTEM_NF_VERSION;
42 
43 extern const boost::uint32_t USER_NF_VERSION;
44 
45 extern const boost::uint32_t LOG_SCHEMA_VERSION;
46 
47 extern const boost::uint32_t POLLING_PERIOD_SECONDS;
48 
49 extern const char * const CLIENT_PUB_KEY_LOCATION;
50 
51 extern const char * const CLIENT_PRIV_KEY_LOCATION;
52 
53 extern const char * const CLIENT_STATUS_FILE_LOCATION;
54 
55 typedef std::vector<IServerInfoPtr> BootstrapServers;
57 
58 const Botan::SecureVector<boost::uint8_t>& getDefaultConfigData();
59 const std::string& getDefaultConfigSchema();
60 
61 typedef std::map<std::string, boost::int32_t> EventClassFamilyVersionInfos;
63 
64 }
65 
66 #endif /* KAADEFAULTS_HPP_ */
const boost::uint32_t SYSTEM_NF_VERSION
const char *const CLIENT_STATUS_FILE_LOCATION
const char *const CLIENT_PRIV_KEY_LOCATION
const boost::uint32_t CONFIG_VERSION
const BootstrapServers & getServerInfoList()
const char *const CLIENT_PUB_KEY_LOCATION
const boost::uint32_t LOG_SCHEMA_VERSION
const std::string & getDefaultConfigSchema()
const boost::uint32_t USER_NF_VERSION
const boost::uint32_t PROFILE_VERSION
const EventClassFamilyVersionInfos & getEventClassFamilyVersionInfo()
std::map< std::string, boost::int32_t > EventClassFamilyVersionInfos
Definition: KaaDefaults.hpp:61
std::vector< IServerInfoPtr > BootstrapServers
Definition: KaaDefaults.hpp:55
const boost::uint32_t POLLING_PERIOD_SECONDS
const char *const APPLICATION_TOKEN
const Botan::SecureVector< boost::uint8_t > & getDefaultConfigData()