client-cpp
0.10.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-2016 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
#include <cstdint>
22
23
#include "kaa/notification/gen/NotificationDefinitions.hpp"
24
25
namespace
kaa {
26
33
class
INotificationListener
{
34
public
:
42
virtual
void
onNotification
(
const
std::int64_t topicId,
const
KaaNotification& notification) = 0;
43
44
virtual
~INotificationListener
() {}
45
};
46
47
}
/* namespace kaa */
48
49
#endif
/* INOTIFICATIONLISTENER_HPP_ */
kaa::INotificationListener
The listener which receives notifications on the specified topic.
Definition:
INotificationListener.hpp:33
kaa::INotificationListener::onNotification
virtual void onNotification(const std::int64_t 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:44
architec
Documents
kaa
client
client-multi
client-cpp
kaa
notification
INotificationListener.hpp
Generated on Mon Oct 31 2016 16:51:43 for client-cpp by
1.8.6