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

Methods implemented by classes handling messaging responses from individual sessions. More...

#include <PTDiffusionSessionResponseStreamDelegate.h>

Inheritance diagram for <PTDiffusionSessionResponseStreamDelegate>:
<PTDiffusionStreamDelegate> <PTDiffusionBinarySessionResponseStreamDelegate> PTDiffusionDefaultSessionResponseStreamDelegate <PTDiffusionJSONSessionResponseStreamDelegate> <PTDiffusionNumberSessionResponseStreamDelegate> <PTDiffusionRecordV2SessionResponseStreamDelegate> <PTDiffusionStringSessionResponseStreamDelegate>

Instance Methods

(void) - diffusionStream:didReceiveError:fromSessionId:
Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
(void) - diffusionDidCloseStream:

Detailed Description

Methods implemented by classes handling messaging responses from individual sessions.

See also
PTDiffusionMessagingFeature
Since
6.1

Method Documentation

◆ diffusionStream:didReceiveError:fromSessionId:

- (void) diffusionStream: (PTDiffusionStream *) stream
didReceiveError: (NSError *) error
fromSessionId: (PTDiffusionSessionId *) sessionId 

Called when a session responds to a request with an error.

Parameters
streamThe stream that received the response.
errorThe error generated by the responding session.
sessionIdThe id of the responding session.
Since
6.1