Diffusion Apple API  6.7.4
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
<PTDiffusionStringRequestDelegate> Protocol Reference

Introduction

Methods implemented by classes handling string messaging requests with a handler registered at the server.

See Also
PTDiffusionPrimitive
PTDiffusionMessagingFeature
Since
6.0
Inheritance diagram for <PTDiffusionStringRequestDelegate>:
<PTDiffusionTopicTreeRegistrationDelegate>

Instance Methods

(void) - diffusionTopicTreeRegistration:didReceiveRequestWithString:context:responder:
 
- Instance Methods inherited from <PTDiffusionTopicTreeRegistrationDelegate>
(void) - diffusionTopicTreeRegistrationDidClose:
 
(void) - diffusionTopicTreeRegistration:didFailWithError:
 

Method Documentation

- (void) diffusionTopicTreeRegistration: (PTDiffusionTopicTreeRegistration *)  registration
didReceiveRequestWithString: (nullable NSString *)  string
context: (PTDiffusionRequestContext *)  context
responder: (PTDiffusionResponder *)  responder 

Called when a string request has been received.

Parameters
registrationThe topic tree registration for which this handler applies.
stringThe request that was received.
contextContext object that provides the session ID of the session that sent the request along with the path and any requested session properties.
responderResponder object to be used for responding to the request.
Since
6.0