Diffusion Apple API
6.10.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
Functions | |
NSString * | PTDiffusionTopicUnsubscriptionReasonToString (PTDiffusionTopicUnsubscriptionReason reason) |
Variables | |
import | Foundation |
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 conflation topic property set to "unsubscribe". The session can resubscribe to the topic. The unsubscription is not persisted to the cluster. If the session fails over to a different server it will be resubscribed to the topic. |
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.