Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
<PTDiffusionStringTimeSeriesEventValueStreamDelegate> Protocol Reference

Methods implemented by classes handling streamed time series events with string values. More...

#include <PTDiffusionStringTimeSeriesEventValueStreamDelegate.h>

Inheritance diagram for <PTDiffusionStringTimeSeriesEventValueStreamDelegate>:
<PTDiffusionSubscriberStreamDelegate> <PTDiffusionStreamDelegate>

Instance Methods

(void) - diffusionStream:didUpdateTimeSeriesTopicPath:specification:oldStringEvent:newStringEvent:
Instance Methods inherited from <PTDiffusionSubscriberStreamDelegate>
(void) - diffusionStream:didSubscribeToTopicPath:specification:
(void) - diffusionStream:didUnsubscribeFromTopicPath:specification:reason:
Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
(void) - diffusionDidCloseStream:

Detailed Description

Methods implemented by classes handling streamed time series events with string 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 string values.

Since
6.0

Method Documentation

◆ diffusionStream:didUpdateTimeSeriesTopicPath:specification:oldStringEvent:newStringEvent:

- (void) diffusionStream: (PTDiffusionValueStream *) stream
didUpdateTimeSeriesTopicPath: (NSString *) topicPath
specification: (PTDiffusionTopicSpecification *) specification
oldStringEvent: (nullable PTDiffusionStringTimeSeriesEvent *) oldStringEvent
newStringEvent: (PTDiffusionStringTimeSeriesEvent *) newStringEvent 

An update was received for a topic path handled by a binary value stream.

Parameters
streamThe value stream that received the update.
topicPathThe topic path that was updated.
specificationThe specification for the updated topic.
oldStringEventThe previous event. If nil then this is the first event.
newStringEventThe new event derived from the last update received from the server.
Since
6.0