![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
Methods implemented by classes handling streamed time series events with numeric 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 numeric values.
Instance Methods | |
(void) | - diffusionStream:didUpdateTimeSeriesTopicPath:specification:oldNumberEvent:newNumberEvent: |
![]() | |
(void) | - diffusionStream:didSubscribeToTopicPath:specification: |
(void) | - diffusionStream:didUnsubscribeFromTopicPath:specification:reason: |
![]() | |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
- (void) diffusionStream: | (PTDiffusionValueStream *) | stream | |
didUpdateTimeSeriesTopicPath: | (NSString *) | topicPath | |
specification: | (PTDiffusionTopicSpecification *) | specification | |
oldNumberEvent: | (nullable PTDiffusionNumberTimeSeriesEvent *) | oldNumberEvent | |
newNumberEvent: | (PTDiffusionNumberTimeSeriesEvent *) | newNumberEvent | |
An update was received for a topic path handled by a binary value stream.
stream | The value stream that received the update. |
topicPath | The topic path that was updated. |
specification | The specification for the updated topic. |
oldNumberEvent | The previous event. If nil then this is the first event. |
newNumberEvent | The new event derived from the last update received from the server. |