The state variables are defined alphabetically in Table 86.

Table 86– State variables and parameters

State Variable

Description

MoreNotifications

A boolean value that is set to TRUE only by the CreateNotificationMsg() when there were too many Notificationsfor a single NotificationMessage.

LatePublishRequest

A boolean value that is set to TRUE to reflect that, the last time the publishing timer expired, there were no Publishrequests queued.

LifetimeCounter

A value that contains the number of consecutive publishing timer expirations without Clientactivity before the Subscriptionis terminated.

MessageSent

A boolean value that is set to TRUE to mean that either a NotificationMessageor a keep-alive Messagehas been sent on the Subscription. It is a flag that is used to ensure that either a NotificationMessageor a keep-alive Messageis sent out the first time the publishing timer expires.

NotificationsAvailable

A boolean value that is set to TRUE only when there is at least one MonitoredItemthat is in the reporting mode and that has a Notificationqueued or there is at least one item to report whose triggering item has triggered and that has a Notificationqueued. The transition of this state Variablefrom FALSE to TRUE creates the “New NotificationQueued” Eventin the state table.

PublishingEnabled

The parameter that requests publishing to be enabled or disabled.

PublishingReqQueued

A boolean value that is set to TRUE only when there is a Publishrequest Messagequeued to the Subscription.

RequestedMessageFound

A boolean value that is set to TRUE only when the Messagerequested to be retransmitted was found in the retransmission queue.

SeqNum

The value that records the value of the sequence number used in NotificationMessages.

SubscriptionAssignedToClient

A boolean value that is set to TRUE only when the Subscriptionrequested to be deleted is assigned to the Clientthat issued the request. A Subscriptionis assigned to the Clientthat created it. That assignment can only be changed through successful completion of the TransferSubscriptions Service.