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

Protocol for receiving messages from a particular topic. More...

#import <DFTopicListenerDelegate.h>

Inheritance diagram for <DFTopicListenerDelegate>:

Instance Methods

(BOOL) - onMessage:
 This method is called if the TopicMessage matches the message received from Diffusion.
 
(NSString *) - getTopic
 getTopic.
 

Detailed Description

Protocol for receiving messages from a particular topic.

Method Documentation

- (NSString *) getTopic

getTopic.

NB: From v5.0 this method is only called when this delegate is added to the DFClient, whereas it used to be called each time a message was recieved.

Returns
the topic-name for which this delegate is invoked.
- (BOOL) onMessage: (DFTopicMessage *)  message

This method is called if the TopicMessage matches the message received from Diffusion.

Parameters
message
Returns
YES if the message is 'consumed' and should not be relayed to subsequent DFTopicListenerDelegate, nor the default listener.

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