The stream delegate protocol defines the methods to be implemented by classes wishing to receive streaming updates.
- See Also
- PTDiffusionTopicsFeature
-
PTDiffusionMessagingFeature
- Since
- 5.6
The stream closed normally.
- Parameters
-
stream | The stream that closed. |
- Note
- No further messages will be sent to the delegate for this stream.
- Since
- 5.6
- (void) diffusionStream: |
|
(PTDiffusionStream *) |
stream |
didFailWithError: |
|
(NSError *) |
error |
|
|
| |
The stream closed prematurely.
- Parameters
-
stream | The stream that closed. |
error | The reason why the stream closed. |
- Note
- No further messages will be sent to the delegate for this stream.
- Since
- 5.6