Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionSessionResponseStreamDelegate> Protocol Reference

Introduction

Methods implemented by classes handling messaging responses from individual sessions.

See Also
PTDiffusionMessagingControlFeature
Since
6.1
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:
 

Method Documentation

- (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