client-c  0.8.1
ext_notification_receiver.h File Reference
+ Include dependency graph for ext_notification_receiver.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kaa_notification_listener_t
 
struct  kaa_topic_t
 
struct  kaa_topic_listener_t
 

Typedefs

typedef void(* on_notification_callback )(void *context, uint64_t *topic_id, kaa_notification_t *notification)
 Pointer to the function that should be called when notification received. More...
 
typedef void(* on_topic_list_callback )(void *context, kaa_list_t *topics)
 Pointer to the function that should be called when notification received. More...
 

Enumerations

enum  kaa_topic_subscription_type_t { MANDATORY_SUBSCRIPTION = 0x00, OPTIONAL_SUBSCRIPTION = 0x01 }
 

Typedef Documentation

typedef void(* on_notification_callback)(void *context, uint64_t *topic_id, kaa_notification_t *notification)

Pointer to the function that should be called when notification received.

Parameters
[in]contextpointer to any user's data.
[in]topic_idpointer to notification's topic id.
[in]notificationpointer to received notification.

Definition at line 39 of file ext_notification_receiver.h.

typedef void(* on_topic_list_callback)(void *context, kaa_list_t *topics)

Pointer to the function that should be called when notification received.

Parameters
[in]contextpointer to any user's data.
[in]topicspointer to topic list.

Definition at line 60 of file ext_notification_receiver.h.

Enumeration Type Documentation

Copyright 2014-2016 CyberVision, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Enumerator
MANDATORY_SUBSCRIPTION 
OPTIONAL_SUBSCRIPTION 

Definition at line 26 of file ext_notification_receiver.h.