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
<PTDiffusionNumberRequestDelegate> Protocol Reference

Introduction

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

See Also
PTDiffusionPrimitive
PTDiffusionMessagingControlFeature
Since
6.0
Inheritance diagram for <PTDiffusionNumberRequestDelegate>:
<PTDiffusionTopicTreeRegistrationDelegate>

Instance Methods

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

Method Documentation

- (void) diffusionTopicTreeRegistration: (PTDiffusionTopicTreeRegistration *)  registration
didReceiveRequestWithNumber: (nullable NSNumber *)  number
context: (PTDiffusionRequestContext *)  context
responder: (PTDiffusionResponder *)  responder 

Called when a numeric request has been received.

Parameters
registrationThe topic tree registration for which this handler applies.
numberThe 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