This structure contains diagnostic information about subscriptions. Its elements are defined in Table 241.
Table 241 – SubscriptionDiagnosticsDataType Structure
Name |
Type |
Description |
SubscriptionDiagnosticsDataType |
structure |
|
sessionId |
NodeId |
Server-assigned identifier of the session the subscription belongs to. |
subscriptionId |
UInt32 |
Server-assigned identifier of the subscription. |
priority |
Byte |
The priority the client assigned to the subscription. |
publishingInterval |
Duration |
The publishing interval of the subscription in milliseconds |
maxKeepAliveCount |
UInt32 |
The maximum keep-alive count of the subscription. |
maxLifetimeCount |
UInt32 |
The maximum lifetime count of the subscription. |
maxNotificationsPerPublish |
UInt32 |
The maximum number of notifications per publish response. |
publishingEnabled |
Boolean |
Whether publishing is enabled for the subscription. |
modifyCount |
UInt32 |
The number of ModifySubscription requests received for the subscription. |
enableCount |
UInt32 |
The number of times the subscription has been enabled. |
disableCount |
UInt32 |
The number of times the subscription has been disabled. |
republishRequestCount |
UInt32 |
The number of Republish Service requests that have been received and processed for the subscription. |
republishMessageRequestCount |
UInt32 |
The total number of messages that have been requested to be republished for the subscription. Note that due to the design of the Republish Service this number is always equal to the republishRequestCount. |
republishMessageCount |
UInt32 |
The number of messages that have been successfully republished for the subscription. |
transferRequestCount |
UInt32 |
The total number of TransferSubscriptions Service requests that have been received for the subscription. |
transferredToAltClientCount |
UInt32 |
The number of times the subscription has been transferred to an alternate client. |
transferredToSameClientCount |
UInt32 |
The number of times the subscription has been transferred to an alternate session for the same client. |
publishRequestCount |
UInt32 |
The number of Publish Service requests that have been received and processed for the subscription. |
dataChangeNotificationsCount |
UInt32 |
The number of data change Notifications sent by the subscription. A data change Notification is one element of the monitoredItems array in a DataChangeNotification Structure sent in a Publish response. |
eventNotificationsCount |
UInt32 |
The number of Event Notifications sent by the subscription. An Event Notification is one event entry in an EventNotificationList sent in a Publish response. |
notificationsCount |
UInt32 |
The total number of Notifications sent by the subscription. This is the sum of dataChangeNotificationsCount and eventNotificationsCount. |
latePublishRequestCount |
UInt32 |
The number of times the subscription has entered the LATE State, i.e. the number of times the publish timer expires and there are unsent notifications. |
currentKeepAliveCount |
UInt32 |
The number of times the subscription has entered the KEEPALIVE State. |
currentLifetimeCount |
UInt32 |
The current lifetime count of the subscription. |
unacknowledgedMessageCount |
UInt32 |
The number of unacknowledged messages saved in the republish queue. |
discardedMessageCount |
UInt32 |
The number of messages that were discarded before they were acknowledged. |
monitoredItemCount |
UInt32 |
The total number of monitored items of the subscription, including the disabled monitored items. |
disabledMonitoredItemCount |
UInt32 |
The number of disabled monitored items of the subscription. |
monitoringQueueOverflowCount |
UInt32 |
The number of DataValue Notifications that have been discarded for all MonitoredItems when the queue size of a MonitoredItem is greater than one. |
nextSequenceNumber |
UInt32 |
Sequence number for the next notification message. |
eventQueueOverFlowCount |
UInt32 |
The number of times a monitored item in the subscription has generated an Event of type EventQueueOverflowEventType. |
Its representation in the AddressSpace is defined in Table 242.
Table 242 – SubscriptionDiagnosticsDataType definition
Attributes |
Value |
||||
BrowseName |
SubscriptionDiagnosticsDataType |
||||
IsAbstract |
FALSE |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
Subtype of the Structure DataType defined in Table 185. |
|||||
Conformance Units |
|||||
Base Info ServerType |