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 Notifications for 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 Publish requests queued. |
LifetimeCounter |
A value that contains the number of consecutive publishing timer expirations without Client activity before the Subscription is terminated. |
MessageSent |
A boolean value that is set to TRUE to mean that either a NotificationMessage or a keep-alive Message has been sent on the Subscription. It is a flag that is used to ensure that either a NotificationMessage or a keep-alive Message is 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 MonitoredItem that is in the reporting mode and that has a Notification queued or there is at least one item to report whose triggering item has triggered and that has a Notification queued. The transition of this state Variable from FALSE to TRUE creates the “New Notification Queued” Event in 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 Publish request Message queued to the Subscription. |
RequestedMessageFound |
A boolean value that is set to TRUE only when the Message requested to be retransmitted was found in the retransmission queue. |
SeqNum |
The value that records the value of the sequence number used in NotificationMessages. |
SubscriptionAssignedToSession |
A boolean value that is set to TRUE only when the Subscription related Service is called with the Session the Subscription is assigned to. A Subscription is assigned to the Session that created it. That assignment can only be changed through successful completion of the TransferSubscriptions Service. |