client-cpp
0.0.1-SNAPSHOT
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ConfigurationTransport.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 CONFIGURATIONTRANSPORT_HPP_
18
#define CONFIGURATIONTRANSPORT_HPP_
19
20
#include "
kaa/channel/transport/AbstractKaaTransport.hpp
"
21
#include "
kaa/channel/transport/IConfigurationTransport.hpp
"
22
#include "
kaa/configuration/IConfigurationProcessor.hpp
"
23
#include "
kaa/configuration/storage/IConfigurationPersistenceManager.hpp
"
24
#include "
kaa/schema/ISchemaProcessor.hpp
"
25
26
namespace
kaa {
27
28
class
ConfigurationTransport
:
public
AbstractKaaTransport
<TransportType::CONFIGURATION>,
public
IConfigurationTrasnport
{
29
public
:
30
ConfigurationTransport
(
IKaaChannelManager
& channelManager,
IConfigurationProcessor
*configProcessor,
ISchemaProcessor
*schemaProcessor,
IConfigurationHashContainer
*hashContainer,
IKaaClientStateStoragePtr
status);
31
32
void
sync
();
33
34
virtual
boost::shared_ptr<ConfigurationSyncRequest>
createConfigurationRequest
();
35
virtual
void
onConfigurationResponse
(
const
ConfigurationSyncResponse &response);
36
37
private
:
38
IConfigurationProcessor
* configurationProcessor_;
39
ISchemaProcessor
* schemaProcessor_;
40
IConfigurationHashContainer
* hashContainer_;
41
};
42
43
}
// namespace kaa
44
45
46
#endif
/* CONFIGURATIONTRANSPORT_HPP_ */
AbstractKaaTransport.hpp
kaa::ConfigurationTransport
Definition:
ConfigurationTransport.hpp:28
kaa::ConfigurationTransport::onConfigurationResponse
virtual void onConfigurationResponse(const ConfigurationSyncResponse &response)
kaa::IConfigurationHashContainer
Definition:
IConfigurationHashContainer.hpp:32
kaa::IKaaChannelManager
Definition:
IKaaChannelManager.hpp:34
kaa::IConfigurationProcessor
Definition:
IConfigurationProcessor.hpp:35
kaa::IKaaClientStateStoragePtr
boost::shared_ptr< IKaaClientStateStorage > IKaaClientStateStoragePtr
Definition:
IKaaClientStateStorage.hpp:85
kaa::ISchemaProcessor
Definition:
ISchemaProcessor.hpp:33
kaa::ConfigurationTransport::ConfigurationTransport
ConfigurationTransport(IKaaChannelManager &channelManager, IConfigurationProcessor *configProcessor, ISchemaProcessor *schemaProcessor, IConfigurationHashContainer *hashContainer, IKaaClientStateStoragePtr status)
IConfigurationProcessor.hpp
kaa::AbstractKaaTransport
Definition:
AbstractKaaTransport.hpp:28
kaa::ConfigurationTransport::sync
void sync()
kaa::IConfigurationTrasnport
Definition:
IConfigurationTransport.hpp:28
IConfigurationTransport.hpp
ISchemaProcessor.hpp
IConfigurationPersistenceManager.hpp
kaa::ConfigurationTransport::createConfigurationRequest
virtual boost::shared_ptr< ConfigurationSyncRequest > createConfigurationRequest()
var
lib
jenkins
workspace
kaa
client
client-multi
client-cpp
kaa
configuration
ConfigurationTransport.hpp
Generated on Fri Oct 17 2014 17:43:33 for client-cpp by
1.8.7