Diffusion Apple API
5.9.24
Unified Client Library for iOS, OS X and tvOS
|
The topic stream delegate protocol defines the methods to be implemented by classes wishing to receive streamed topic updates.
Instance Methods | |
(void) | - diffusionStream:didUpdateTopicPath:content:context: |
(void) | - diffusionStream:didSubscribeToTopicPath:details: |
(void) | - diffusionStream:didUnsubscribeFromTopicPath:reason: |
(void) | - diffusionTopicStream:didUnsubscribeFromTopicPath:reason: |
Instance Methods inherited from <PTDiffusionStreamDelegate> | |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
|
optional |
A subscription notification was received for a topic path handled by the topic stream.
The subscription could be as a result of a request from this client's associated session or it might have been requested by another control client.
stream | The topic stream that received the subscription notification. |
topicPath | The topic path to which the session has been subscribed. |
details | The details of the subscription. |
|
optional |
An unsubscription notification was received for a topic path handled by the topic stream.
The unsubscription could be as a result of a request from this client's associated session or it might have been requested by another control client.
stream | The topic stream that received the unsubscription notification. |
topicPath | The topic path from which the session has been unsubscribed. |
reason | The reason for the unsubscription. |
|
required |
An update was received for a topic path handled by the topic stream.
stream | The topic stream that received the update. |
topicPath | The topic path which was updated. |
content | The content of the updated topic. |
context | The context of the update. |
|
optional |
An unsubscription notification was received for a topic path handled by the topic stream when the newer diffusionStream:didUnsubscribeFromTopicPath:reason: method has not been defined on the delegate.
stream | The topic stream that received the unsubscription notification. |
topicPath | The topic path from which the session has been unsubscribed. |
reason | The reason for the unsubscription. |