Diffusion Apple API
6.2.7
Unified Client Library for iOS, tvOS and OS X / macOS
|
Handler for receiving messages from clients, with associated content and optional information.
Instance Methods | |
(void) | - diffusionTopicTreeRegistration:hadMessageFromSessionId:path:content:context: |
Instance Methods inherited from <PTDiffusionTopicTreeRegistrationDelegate> | |
(void) | - diffusionTopicTreeRegistrationDidClose: |
(void) | - diffusionTopicTreeRegistration:didFailWithError: |
- (void) diffusionTopicTreeRegistration: | (PTDiffusionTopicTreeRegistration *) | registration | |
hadMessageFromSessionId: | (PTDiffusionSessionId *) | sessionId | |
path: | (NSString *) | path | |
content: | (PTDiffusionContent *) | content | |
context: | (PTDiffusionReceiveContext *) | context | |
Receives messages sent from client sessions using a path.
The path will be one within the branch for which the handler was registered.
registration | The topic tree registration for which this handler applies. |
sessionId | Identifies the client session that sent the message. |
path | The message path that the message was sent to. |
content | The message content sent by the client. |
context | Receive context (including headers) associated with the message. |