![]() |
DEPRECATED: Diffusion iOS Classic API
5.9.4
|
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. | |
Listener for notifications from a Topic Notify Topic.
Such a delegate is declared when a DFTopicNotifyTopicHandler is created using [DFClient createTopicNotifyTopicHandlerWithMessage:level:andDelegate:]
- (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.
topicName | the name of the new topic. |
definition | the 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). |
- (void) topicRemoved: | (NSString *) | topicName |
Notifies the removal of a Topic at the server.
topicName | the name of the Topic removed |
- (void) topicUpdated: | (NSString *) | topicName | |
withProperties: | (NSDictionary *) | properties | |
Notifies a change to one or more of the non static properties of a Topic.
topicName | the name of the Topic |
properties | a map of the changed properties |