Attributes applicable to all topic types.
A topic attributes object is immutable.
- See Also
- PTDiffusionTopicDetailsBuilder
- Deprecated:
- Since 6.0. The use of PTDiffusionTopicDetails is being phased out in favor of PTDiffusionTopicSpecification. This interface will be removed in a future release.
- Since
- 5.7
|
(instancetype) | + NS_UNAVAILABLE |
|
Compares the receiver to the given topic attributes.
- Parameters
-
topicAttributes | The topic attributes object with which to compare the receiver. |
- Returns
YES
if the topic attributes is equal to the receiver, otherwise NO
.
- Since
- 5.7
- (NSDictionary<NSString *, NSString *>*) properties |
|
readnonatomicassign |
Additional properties.
- Since
- 5.7
The topic reference or a zero length string if not set.
- Since
- 5.7
- (BOOL) tidiesOnUnsubscribe |
|
readnonatomicassign |
The 'tidy on unsubscribe' flag.
By default, if a client unsubscribes from a topic, it may still receive content already queued for it on that topic.
If this option is set to YES
, when a client unsubscribes from a topic then any content for that topic that is still queued for the client is removed. There can be a performance overhead to using this option as the client queue must be locked whilst content is removed, however it may prove useful for preventing unwanted data being sent to clients.
- Since
- 5.7