client-cpp
0.7.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
INotificationListener.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2014-2015 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 INOTIFICATIONLISTENER_HPP_
18
#define INOTIFICATIONLISTENER_HPP_
19
20
#include <string>
21
22
#include "kaa/notification/gen/NotificationDefinitions.hpp"
23
24
namespace
kaa {
25
32
class
INotificationListener
{
33
public
:
41
virtual
void
onNotification
(
const
std::string& topicId,
const
KaaNotification& notification) = 0;
42
43
virtual
~INotificationListener
() {}
44
};
45
46
}
/* namespace kaa */
47
48
#endif
/* INOTIFICATIONLISTENER_HPP_ */
kaa::INotificationListener
The listener which receives notifications on the specified topic.
Definition:
INotificationListener.hpp:32
kaa::INotificationListener::onNotification
virtual void onNotification(const std::string &topicId, const KaaNotification ¬ification)=0
Callback is used when the new notification on the specified topic is received.
kaa::INotificationListener::~INotificationListener
virtual ~INotificationListener()
Definition:
INotificationListener.hpp:43
var
lib
jenkins
workspace
kaa_stable
client
client-multi
client-cpp
kaa
notification
INotificationListener.hpp
Generated on Tue Mar 31 2015 13:18:40 for client-cpp by
1.8.7