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

Introduction

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

See Also
PTDiffusionJSON
PTDiffusionMessagingFeature
Since
6.1
Inheritance diagram for <PTDiffusionJSONSessionResponseStreamDelegate>:
<PTDiffusionSessionResponseStreamDelegate> <PTDiffusionStreamDelegate>

Instance Methods

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

Method Documentation

- (void) diffusionStream: (PTDiffusionStream *)  stream
didReceiveResponseWithJSON: (PTDiffusionJSON *)  json
fromSessionId: (PTDiffusionSessionId *)  sessionId 

Called when a session responds to a request with JSON.

Parameters
streamThe stream that received the response.
jsonThe response that was received.
sessionIdThe id of the responding session.
Since
6.1