Class TopicUnsubscribeReason
- Namespace
- PushTechnology.ClientInterface.Client.Features
- Assembly
- Diffusion.Client.dll
The reason for an unsubscription.
public class TopicUnsubscribeReason : ByteCodeEnum<TopicUnsubscribeReason>
- Inheritance
-
TopicUnsubscribeReason
- Inherited Members
Fields
AUTHORIZATION
The unsubscription occurred because the session is no longer authorized to access the topic.
public static readonly TopicUnsubscribeReason AUTHORIZATION
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason when the session is no longer authorized to access the topic.
BACK_PRESSURE
The server has a significant backlog of messages for the session, and the topic specification has the Conflation property set to "unsubscribe".
public static readonly TopicUnsubscribeReason BACK_PRESSURE
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason due to a backlog of messages.
Remarks
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.
Added in version 6.1.
BRANCH_MAPPINGS
The unsubscription occurred because branch mapping rules changed. ISessionTrees
public static readonly TopicUnsubscribeReason BRANCH_MAPPINGS
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason due to branch mapping rules having changed.
Remarks
Since 6.7
CONTROL
Unsubscribed by controller.
public static readonly TopicUnsubscribeReason CONTROL
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason due to unsubscription by the controller.
REMOVAL
Topic removed.
public static readonly TopicUnsubscribeReason REMOVAL
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason due to topic removal.
REQUESTED
Unsubscribed by client.
public static readonly TopicUnsubscribeReason REQUESTED
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason due to unsubscription by the client.
STREAM_CHANGE
A fallback stream has been unsubscribed due to the addition of a stream that selects the topic.
public static readonly TopicUnsubscribeReason STREAM_CHANGE
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason due to stream change.
Remarks
Since 5.9
SUBSCRIPTION_REFRESH
The server has re-subscribed this session to the topic. Existing streams are unsubscribed because the topic type and other attributes may have changed.
public static readonly TopicUnsubscribeReason SUBSCRIPTION_REFRESH
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason when the server has re-subscribed a session to the topic.
Remarks
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.
Since 5.9
UNKNOWN
A reason that is unsupported by the session.
public static readonly TopicUnsubscribeReason UNKNOWN
Field Value
- TopicUnsubscribeReason
The topic unsubscribe reason for a reason that is unsupported by the session.
Remarks
Added in version 6.1.