Diffusion Apple API
6.10.4
Unified Client Library for iOS, tvOS and OS X / macOS
|
Methods implemented by classes handling streamed time series events with JSON values.
This protocol defines the methods to be implemented by classes wishing to receive streamed time series events when updates are received from the server with JSON values.
Instance Methods | |
(void) | - diffusionStream:didUpdateTimeSeriesTopicPath:specification:oldJSONEvent:newJSONEvent: |
Instance Methods inherited from <PTDiffusionSubscriberStreamDelegate> | |
(void) | - diffusionStream:didSubscribeToTopicPath:specification: |
(void) | - diffusionStream:didUnsubscribeFromTopicPath:specification:reason: |
Instance Methods inherited from <PTDiffusionStreamDelegate> | |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
- (void) diffusionStream: | (PTDiffusionValueStream *) | stream | |
didUpdateTimeSeriesTopicPath: | (NSString *) | topicPath | |
specification: | (PTDiffusionTopicSpecification *) | specification | |
oldJSONEvent: | (nullable PTDiffusionJSONTimeSeriesEvent *) | oldJsonEvent | |
newJSONEvent: | (PTDiffusionJSONTimeSeriesEvent *) | newJsonEvent | |
An update was received for a topic path handled by a JSON value stream.
stream | The value stream that received the update. |
topicPath | The topic path that was updated. |
specification | The specification for the updated topic. |
oldJsonEvent | The previous event. If nil then this is the first event. |
newJsonEvent | The new event derived from the last update received from the server. |