Diffusion Apple API  5.9.24
Unified Client Library for iOS, OS X and tvOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionTopicEventListener> Protocol Reference

Introduction

Listener for topic events from the server.

See Also
PTDiffusionTopicControlFeature
Since
5.7
Inheritance diagram for <PTDiffusionTopicEventListener>:
<PTDiffusionTopicTreeRegistrationDelegate>

Instance Methods

(void) - diffusionTopicTreeRegistration:hasSubscribersForTopicPath:
 
(void) - diffusionTopicTreeRegistration:hasNoSubscribersForTopicPath:
 
- Instance Methods inherited from <PTDiffusionTopicTreeRegistrationDelegate>
(void) - diffusionTopicTreeRegistrationDidClose:
 
(void) - diffusionTopicTreeRegistration:didFailWithError:
 

Method Documentation

- (void) diffusionTopicTreeRegistration: (PTDiffusionTopicTreeRegistration *)  registration
hasNoSubscribersForTopicPath: (NSString *)  topicPath 
optional

A topic that previously had some subscribers now has none.

Parameters
registrationThe topic tree registration for which this listener applies.
topicPathThe path of the topic.
Since
5.7
- (void) diffusionTopicTreeRegistration: (PTDiffusionTopicTreeRegistration *)  registration
hasSubscribersForTopicPath: (NSString *)  topicPath 
optional

A topic that previously had no subscribers now has at least one.

Parameters
registrationThe topic tree registration for which this listener applies.
topicPathThe path of the topic.
Since
5.7