![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
Methods implemented by classes handling messaging responses from individual sessions.
Instance Methods | |
(void) | - diffusionStream:didReceiveError:fromSessionId: |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
- (void) diffusionDidCloseStream: | (PTDiffusionStream *) | stream |
The stream closed normally.
stream | The stream that closed. |
Reimplemented from <PTDiffusionStreamDelegate>.
- (void) diffusionStream: | (PTDiffusionStream *) | stream | |
didFailWithError: | (NSError *) | error | |
The stream closed prematurely.
stream | The stream that closed. |
error | The reason why the stream closed. |
Reimplemented from <PTDiffusionStreamDelegate>.
- (void) diffusionStream: | (PTDiffusionStream *) | stream | |
didReceiveError: | (NSError *) | error | |
fromSessionId: | (PTDiffusionSessionId *) | sessionId | |
Called when a session responds to a request with an error.
stream | The stream that received the response. |
error | The error generated by the responding session. |
sessionId | The id of the responding session. |