![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
Functions | |
| NSString * | PTDiffusionTopicUnsubscriptionReasonToString (PTDiffusionTopicUnsubscriptionReason reason) |
The reason that an unsubscription occurred.
| Enumerator | |
|---|---|
| PTDiffusionTopicUnsubscriptionReason_Requested | Unsubscribed by the subscribing client.
|
| PTDiffusionTopicUnsubscriptionReason_Control | The unsubscription was requested either by another client or by the server.
|
| PTDiffusionTopicUnsubscriptionReason_Removal | The unsubscription occurred because the topic was removed.
|
| PTDiffusionTopicUnsubscriptionReason_Authorization | The unsubscription occurred because the session is no longer authorized to access the topic.
|
| PTDiffusionTopicUnsubscriptionReason_Unknown | A reason that is unsupported by the session.
|
| PTDiffusionTopicUnsubscriptionReason_BackPressure | The server has a significant backlog of messages f`or the session, and the topic specification has the |
| PTDiffusionTopicUnsubscriptionReason_BranchMappings | The unsubscription occurred because branch mapping rules changed.
|
| PTDiffusionTopicUnsubscriptionReason_SubscriptionRefresh | The server has re-subscribed this session to the topic. Existing streams are unsubscribed because the topic type and other attributes may have changed. This can happen if a set of servers is configured to use session replication, and a session connected to one server reconnects ("fails over") to a different server.
|
| PTDiffusionTopicUnsubscriptionReason_StreamChange | A fallback stream has been unsubscribed due to the addition of a stream that selects the topic.
|
| NSString * PTDiffusionTopicUnsubscriptionReasonToString | ( | PTDiffusionTopicUnsubscriptionReason | reason | ) |
Returns a string representation of a topic unsubscription reason.