Diffusion Apple API  5.9.24
Unified Client Library for iOS, OS X and tvOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionMessageStreamDelegate> Protocol Reference

Introduction

The message stream delegate protocol defines the methods to be implemented by classes wishing to receive messages.

See Also
PTDiffusionMessagingFeature
Since
5.6
Inheritance diagram for <PTDiffusionMessageStreamDelegate>:
<PTDiffusionStreamDelegate>

Instance Methods

(void) - diffusionStream:didReceiveMessageOnTopicPath:content:context:
 
- Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
 
(void) - diffusionDidCloseStream:
 

Method Documentation

- (void) diffusionStream: (PTDiffusionStream *)  stream
didReceiveMessageOnTopicPath: (NSString *)  topicPath
content: (PTDiffusionContent *)  content
context: (PTDiffusionReceiveContext *)  context 
required

A message was received for a topic path handled by the topic stream.

Parameters
streamThe message stream that received the message.
topicPathThe topic path on which the message was received.
contentThe content of the message.
contextThe message context.
Since
5.6