Diffusion Apple API
5.9.24
Unified Client Library for iOS, OS X and tvOS
|
Methods implemented by classes handling streamed events for JSON value topics.
This protocol defines the methods to be implemented by classes wishing to receive streamed events when updates are received from the server for JSON topics.
Instance Methods | |
(void) | - diffusionStream:didUpdateTopicPath:specification:oldJSON:newJSON: |
Instance Methods inherited from <PTDiffusionSubscriberStreamDelegate> | |
(void) | - diffusionStream:didSubscribeToTopicPath:specification: |
(void) | - diffusionStream:didUnsubscribeFromTopicPath:specification:reason: |
Instance Methods inherited from <PTDiffusionStreamDelegate> | |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
|
required |
An update was received for a topic path handled by a JSON value stream.
stream | The topic stream that received the update. |
topicPath | The topic path which was updated. |
specification | The specification for the updated topic. |
oldJSON | The previous value. If nil then this is the first value. |
newJSON | The new value derived from the last update received from the server. |