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

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

#include <PTDiffusionNumberRequestDelegate.h>

Inheritance diagram for <PTDiffusionNumberRequestDelegate>:
<PTDiffusionTopicTreeRegistrationDelegate>

Instance Methods

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

Detailed Description

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

See also
PTDiffusionPrimitive
PTDiffusionMessagingFeature
Since
6.0

Method Documentation

◆ diffusionTopicTreeRegistration:didReceiveRequestWithNumber:context:responder:

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