Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason Class Reference

The reason for an unsubscription. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason:

Static Public Attributes

static readonly
TopicUnsubscribeReason 
REQUESTED
 Unsubscribed by client. More...
 
static readonly
TopicUnsubscribeReason 
CONTROL
 Unsubscribed by controller. More...
 
static readonly
TopicUnsubscribeReason 
REMOVAL
 Topic removed. More...
 
static readonly
TopicUnsubscribeReason 
AUTHORIZATION
 The unsubscription occurred because the session is no longer authorized to access the topic. More...
 
static readonly
TopicUnsubscribeReason 
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. More...
 
static readonly
TopicUnsubscribeReason 
STREAM_CHANGE
 A fallback stream has been unsubscribed due to the addition of a stream that selects the topic. More...
 
static readonly
TopicUnsubscribeReason 
UNKNOWN
 A reason that is unsupported by the session. More...
 
static readonly
TopicUnsubscribeReason 
BACK_PRESSURE
 The server has a significant backlog of messages for the session, and the topic specification has the TopicSpecificationProperty.Conflation property set to "unsubscribe". More...
 

Detailed Description

The reason for an unsubscription.

Member Data Documentation

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.AUTHORIZATION
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.AUTHORIZATION, 3 )

The unsubscription occurred because the session is no longer authorized to access the topic.

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.BACK_PRESSURE
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.BACK_PRESSURE, 0x05 )

The server has a significant backlog of messages for the session, and the topic specification has the TopicSpecificationProperty.Conflation 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.

Added in version 6.1.

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.CONTROL
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.CONTROL, 1 )

Unsubscribed by controller.

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.REMOVAL
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.REMOVAL, 2 )

Topic removed.

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.REQUESTED
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.REQUESTED, 0 )

Unsubscribed by client.

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.STREAM_CHANGE
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.STREAM_CHANGE, 0xF1 )

A fallback stream has been unsubscribed due to the addition of a stream that selects the topic.



Since 5.9

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.SUBSCRIPTION_REFRESH
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.SUBSCRIPTION_REFRESH, 0xF0 )

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.

Since 5.9

readonly TopicUnsubscribeReason PushTechnology.ClientInterface.Client.Features.TopicUnsubscribeReason.UNKNOWN
static
Initial value:
=
new TopicUnsubscribeReason( TopicUnsubscribeReasonEnum.UNKNOWN, 0x04 )

A reason that is unsupported by the session.

Added in version 6.1.


The documentation for this class was generated from the following file: