DEPRECATED: Diffusion iOS Classic API
5.9.4
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Enumerations
Enumerator
Properties
Macros
Pages
DFTopicNotifyTopicDelegate.h
1
//
2
// DFTopicNotifyTopicDelegate.h
3
// DiffusionTransport
4
//
5
// Created by Martin Cowie on 23/05/2013 - Diffusion 5.9.4_01
6
// Copyright (c) 2013 Push Technology Ltd. All rights reserved.
7
//
8
//
9
10
@class
DFTopicDefinition
;
11
12
/**
13
* Listener for notifications from a Topic Notify Topic.
14
* <P>
15
* Such a delegate is declared when a DFTopicNotifyTopicHandler is
16
* created using [DFClient createTopicNotifyTopicHandlerWithMessage:level:andDelegate:]
17
*
18
* @since 4.6
19
*/
20
@protocol
DFTopicNotifyTopicDelegate
21
22
23
/**
24
* Notifies the addition of a Topic at the server.
25
* <P>
26
* Only topics that match with selections made to the server (via the
27
* [DFTopicNotifyTopicHandler select:] method) will be notified.
28
*
29
* @param topicName the name of the new topic.
30
*
31
* @param definition the definition of the topic. The level of detail
32
* available within this definition will depend upon the DFNotificationLevel
33
* specified when creating the handler. It will at least contain the
34
* Topic type but may also contain all of the Topic properties (depending
35
* upon level) and/or the Topic metadata (depending upon level and type).
36
* @since 4.6
37
*/
38
-(void)topicAdded:(NSString*)topicName
39
withDefinition:(
DFTopicDefinition
*)definition;
40
41
/**
42
* Notifies the removal of a Topic at the server
43
*
44
* @param topicName the name of the Topic removed
45
* @since 4.6
46
*/
47
-(void)topicRemoved:(NSString*)topicName;
48
49
/**
50
* Notifies a change to one or more of the non static properties of a
51
* Topic.
52
*
53
* @param topicName the name of the Topic
54
* @param properties a map of the changed properties
55
* @since 4.6
56
*/
57
-(void)topicUpdated:(NSString*)topicName withProperties:(NSDictionary*)properties;
58
59
@end
DiffusionTransport
build
headers
DFTopicNotifyTopicDelegate.h
Generated on Mon Feb 6 2017 13:36:51 for DEPRECATED: Diffusion iOS Classic API by
1.8.2