DEPRECATED: Diffusion iOS Classic API  5.9.4
 All Data Structures Files Functions Variables Enumerations Enumerator Properties Macros Pages
<DFTopicNotifyTopicDelegate> Protocol Referenceabstract

Listener for notifications from a Topic Notify Topic. More...

#import <DFTopicNotifyTopicDelegate.h>

Instance Methods

(void) - topicAdded:withDefinition:
 Notifies the addition of a Topic at the server.
 
(void) - topicRemoved:
 Notifies the removal of a Topic at the server.
 
(void) - topicUpdated:withProperties:
 Notifies a change to one or more of the non static properties of a Topic.
 

Detailed Description

Listener for notifications from a Topic Notify Topic.

Such a delegate is declared when a DFTopicNotifyTopicHandler is created using [DFClient createTopicNotifyTopicHandlerWithMessage:level:andDelegate:]

Since
4.6

Method Documentation

- (void) topicAdded: (NSString *)  topicName
withDefinition: (DFTopicDefinition *)  definition 

Notifies the addition of a Topic at the server.

Only topics that match with selections made to the server (via the [DFTopicNotifyTopicHandler select:] method) will be notified.

Parameters
topicNamethe name of the new topic.
definitionthe definition of the topic. The level of detail available within this definition will depend upon the DFNotificationLevel specified when creating the handler. It will at least contain the Topic type but may also contain all of the Topic properties (depending upon level) and/or the Topic metadata (depending upon level and type).
Since
4.6
- (void) topicRemoved: (NSString *)  topicName

Notifies the removal of a Topic at the server.

Parameters
topicNamethe name of the Topic removed
Since
4.6
- (void) topicUpdated: (NSString *)  topicName
withProperties: (NSDictionary *)  properties 

Notifies a change to one or more of the non static properties of a Topic.

Parameters
topicNamethe name of the Topic
propertiesa map of the changed properties
Since
4.6

The documentation for this protocol was generated from the following file: