The following tables list the members exposed by Subscription.
Name | Description | |
---|---|---|
![]() | AvailableSequenceNumbers | The sequence numbers that are available for republish requests. |
![]() | ChangesPending | Returns true if the subscription has changes that need to be applied. |
![]() | Created | Whether the subscription has been created on the server. |
![]() | CurrentKeepAliveCount | The current keep alive count. |
![]() | CurrentLifetimeCount | The current lifetime count. |
![]() | CurrentPriority | The priority assigned to subscription when it was created. |
![]() | CurrentPublishingEnabled | Whether publishing is currently enabled. |
![]() | CurrentPublishingInterval | The current publishing interval. |
![]() | DisableMonitoredItemCache | Gets or sets a value indicating whether the notifications are cached within the monitored items. |
![]() | DisplayName | A display name for the subscription. |
![]() | Handle | A local handle assigned to the subscription |
![]() | Id | The unique identifier assigned by the server. |
![]() | KeepAliveCount | Maximum keep-alive count. When the publishing timer has expired this number of times without requiring any NotificationMessage to be sent, the Subscription sends a keep-alive Message to the Client. The negotiated value for this parameter is returned in the response. If the requested value is 0, the server shall revise with the smallest supported keep-alive count. |
![]() | LastNotification | The last notification received from the server. |
![]() | LastNotificationTime | The when that the last notification was received. |
![]() | LifetimeCount | Requested lifetime count. The lifetime count shall be a minimum of three times the keep keep-alive count. When the publishing timer has expired this number of times without a Publish request being available to send a NotificationMessage, then the Subscription shall be deleted by the Server. |
![]() | MaxMessageCount | The maximum number of messages to keep in the internal cache. |
![]() | MaxNotificationsPerPublish | The maximum number of notifications that the Client wishes to receive in a single Publish response. A value of zero indicates that there is no limit. The number of notifications per Publish is the sum of monitoredItems in the DataChangeNotification and events in the EventNotificationList. |
![]() | MinLifetimeInterval | The minimum lifetime for subscriptions in milliseconds. |
![]() | MonitoredItemCount | Returns the number of monitored items. |
![]() | MonitoredItems | The items to monitor. |
![]() | NotificationCount | The number of notifications contained in the last notification message. |
![]() | Notifications | The cached notifications. |
![]() | OutstandingMessageWorkers | Get the number of outstanding message workers |
![]() | Priority | Indicates the relative priority of the Subscription. When more than one Subscription needs to send Notifications, the Server should de-queue a Publish request to the Subscription with the highest priority number. For Subscriptions with equal priority the Server should de-queue Publish requests in a round-robin fashion. A Client that does not require special priority settings should set this value to zero. |
![]() | PublishingEnabled | Whether publishing is enabled. |
![]() | PublishingInterval | This interval defines the cyclic rate that the Subscription is being requested to return Notifications to the Client. This interval is expressed in milliseconds. This interval is represented by the publishing timer in the Subscription state table. The negotiated value for this parameter returned in the response is used as the default sampling interval for MonitoredItems assigned to this Subscription. If the requested value is 0 or negative, the server shall revise with the fastest supported publishing interval. |
![]() | PublishingStopped | Returns true if the subscription is not receiving publishes. |
![]() | PublishTime | The when that the last notification received was published. |
![]() | SequenceNumber | The sequence number assigned to the last notification message. |
![]() | Session | The session that owns the subscription item. |
![]() | TimestampsToReturn | The timestamps to return with the notification messages. |
Name | Description | |
---|---|---|
![]() | AddItem | Overloaded. Adds an item to the subscription. The method ApplyChanges() must be called to make the changes in the server. |
![]() | AddItems | Adds a set of items to the subscription. The method ApplyChanges() must be called to make the changes in the server. |
![]() | ApplyChanges | Applies any changes to the subscription items. Must be called to transmit the pendent changes to the server. |
![]() | BeginApplyChanges | Applies any changes to the subscription items. |
![]() | BeginCreate | Asynchronically creates a subscription in the server. |
![]() | BeginDelete | Asynchronously deletes a subscription on the server. |
![]() | ConditionRefresh | Tells the server to refresh all conditions being monitored by the subscription. |
![]() | Create | Creates a subscription in the server. |
![]() | Dispose | Frees any unmanaged resources. |
![]() | EndApplyChanges | Completes an asynchronous BeginApplyChanges operation. |
![]() | EndCreate | Completes an asynchronous BeginCreate operation. |
![]() | EndDelete | Completes an asynchronous BeginDelete operation. |
![]() | FindItemByClientHandle | Returns the MonitoredItem object identified by the client handle. |
![]() | Modify | Modifies a subscription on the server. |
![]() | RemoveItem | Removes an item from the subscription. The method ApplyChanges() must be called to make the changes in the server. |
![]() | RemoveItems | Removes a set of items from the subscription. The method ApplyChanges() must be called to make the changes in the server. |
![]() | Republish | Republishes the specified notification message. |
![]() | SetMonitoringMode | This Service is used to set the monitoring mode for one or more MonitoredItems of a Subscription. Setting the mode to DISABLED causes all queued Notifications to be deleted. |
![]() | SetPublishingMode | Changes the publishing enabled state for the subscription. |
![]() | StartEventNotifications | Activate event notification according the filter. The handler for fast event notification handling is installed. Only one handler can be defined (callback, not .NET event). Multiple notifications can be in one callback. If a synchronisation object is defined for the UaApplication then the callback is internally synchronized with Windows so that the event handler use Windows controls. |
Name | Description | |
---|---|---|
![]() | DataChangeCallback | Raised on a publish response with datachange values. The application can use this event to get a single callback with all datachange values in a publish response. Or, use the Notification event in the MonitoredItem class to get a callback for each Monitored Item. |
![]() | PublishStatusChanged | Raised to indicate the publishing state for the subscription has stopped or resumed (see PublishingStopped property). |