client-cpp  0.6.3
IKaaClient.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 IKAACLIENT_HPP_
18 #define IKAACLIENT_HPP_
19 
21 #include "kaa/KaaDefaults.hpp"
22 
23 namespace kaa {
24 
25 class IDeltaManager;
26 class IProfileManager;
27 class EventFamilyFactory;
28 class INotificationManager;
29 class IConfigurationManager;
30 class IEventListenersResolver;
31 class ISchemaPersistenceManager;
32 class IEndpointRegistrationManager;
33 class IConfigurationPersistenceManager;
34 class IKaaChannelManager;
35 class ILogCollector;
36 class IKaaDataMultiplexer;
37 class IKaaDataDemultiplexer;
38 
47 class IKaaClient {
48 public:
49 
50 #ifdef KAA_USE_CONFIGURATION
51 
57  virtual IDeltaManager& getDeltaManager() = 0;
58 #endif
59 
66  virtual IProfileManager& getProfileManager() = 0;
67 
68 #ifdef KAA_USE_EVENTS
69 
75  virtual EventFamilyFactory& getEventFamilyFactory() = 0;
76 #endif
77 
78 #ifdef KAA_USE_NOTIFICATIONS
79 
85  virtual INotificationManager& getNotificationManager() = 0;
86 #endif
87 
88 #ifdef KAA_USE_CONFIGURATION
89 
95  virtual IConfigurationManager& getConfigurationManager() = 0;
96 
103  virtual ISchemaPersistenceManager& getSchemaPersistenceManager() = 0;
104 
111  virtual IConfigurationPersistenceManager& getConfigurationPersistenceManager() = 0;
112 #endif
113 
114 #ifdef KAA_USE_EVENTS
115 
120  virtual IEndpointRegistrationManager& getEndpointRegistrationManager() = 0;
121 
127  virtual IEventListenersResolver& getEventListenersResolver() = 0;
128 #endif
129 
135  virtual IKaaChannelManager& getChannelManager() = 0;
136 
148  virtual const KeyPair& getClientKeyPair() = 0;
149 
150 #ifdef KAA_USE_LOGGING
151 
156  virtual ILogCollector& getLogCollector() = 0;
157 #endif
158 
165 
172 
179 
186 
187  virtual ~IKaaClient() { }
188 };
189 
190 }
191 
192 
193 #endif /* IKAACLIENT_HPP_ */
virtual IProfileManager & getProfileManager()=0
virtual IKaaChannelManager & getChannelManager()=0
virtual IKaaDataMultiplexer & getBootstrapMultiplexer()=0
virtual IKaaDataDemultiplexer & getBootstrapDemultiplexer()=0
virtual const KeyPair & getClientKeyPair()=0
virtual ~IKaaClient()
Definition: IKaaClient.hpp:187
virtual IKaaDataDemultiplexer & getOperationDemultiplexer()=0
virtual IKaaDataMultiplexer & getOperationMultiplexer()=0