Enumerations | |
| enum | PTDiffusionTopicUnsubscriptionReason { PTDiffusionTopicUnsubscriptionReason_Requested = 0 , PTDiffusionTopicUnsubscriptionReason_Control = 1 , PTDiffusionTopicUnsubscriptionReason_Removal = 2 , PTDiffusionTopicUnsubscriptionReason_Authorization = 3 , PTDiffusionTopicUnsubscriptionReason_Unknown = 4 , PTDiffusionTopicUnsubscriptionReason_BackPressure = 5 , PTDiffusionTopicUnsubscriptionReason_BranchMappings = 6 , PTDiffusionTopicUnsubscriptionReason_SubscriptionRefresh = 0xfffffff0 , PTDiffusionTopicUnsubscriptionReason_StreamChange = 0xfffffff1 } |
| Enumeration of the reasons that an unsubscription can occur. More... | |
Functions | |
| NSString * | PTDiffusionTopicUnsubscriptionReasonToString (PTDiffusionTopicUnsubscriptionReason reason) |
The reason that an unsubscription occurred.
Enumeration of the reasons that an unsubscription can occur.
| 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.
| reason | The topic unsubscription reason for which a description is to be returned. |