.NET Based OPC UA Client/Server SDK  3.0.10.493
UnifiedAutomation.UaBase.CreateSubscriptionRequest Class Reference

Asynchronous call to create a Subscription More...

Inherits UnifiedAutomation.UaBase.IServiceRequest, and UnifiedAutomation.UaBase.IEncodeable.

Public Member Functions

 CreateSubscriptionRequest ()
 The default constructor. More...
 
virtual void Encode (IEncoder encoder)
 
virtual void Decode (IDecoder decoder)
 
virtual bool IsEqual (IEncodeable encodeable)
 Checks if encodeable is the same object or has the same content More...
 
virtual object Clone ()
 

Properties

RequestHeader RequestHeader [get, set]
 
double RequestedPublishingInterval [get, set]
 This interval defines the cyclic rate that the Subscription is being requested to return Notifications to the Client. More...
 
uint RequestedLifetimeCount [get, set]
 Requested lifetime count. More...
 
uint RequestedMaxKeepAliveCount [get, set]
 Requested maximum keep-alive count. More...
 
uint MaxNotificationsPerPublish [get, set]
 The maximum number of notifications that the Client wishes to receive in a single Publish response. More...
 
bool PublishingEnabled [get, set]
 A Boolean parameter with the following values: More...
 
byte Priority [get, set]
 Indicates the relative priority of the Subscription. More...
 
virtual ExpandedNodeId TypeId [get]
 
virtual ExpandedNodeId BinaryEncodingId [get]
 
virtual ExpandedNodeId XmlEncodingId [get]
 
- Properties inherited from UnifiedAutomation.UaBase.IServiceRequest
RequestHeader RequestHeader [get, set]
 The header for the request. More...
 
- Properties inherited from UnifiedAutomation.UaBase.IEncodeable
ExpandedNodeId TypeId [get]
 Returns the UA type identifier for the encodable type. More...
 
ExpandedNodeId BinaryEncodingId [get]
 Returns the UA type identifier for the default binary encoding for the type. More...
 
ExpandedNodeId XmlEncodingId [get]
 Returns the UA type identifier for the default XML encoding for the type. More...
 

Detailed Description

Asynchronous call to create a Subscription

Subscriptions monitor a set of MonitoredItems for notifications and return them to the Client in response to Publish requests.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.CreateSubscriptionRequest.CreateSubscriptionRequest ( )
inline

The default constructor.

Member Function Documentation

virtual bool UnifiedAutomation.UaBase.CreateSubscriptionRequest.IsEqual ( IEncodeable  encodeable)
inlinevirtual

Checks if encodeable is the same object or has the same content

Parameters
encodeable
Returns

Implements UnifiedAutomation.UaBase.IEncodeable.

Property Documentation

uint UnifiedAutomation.UaBase.CreateSubscriptionRequest.MaxNotificationsPerPublish
getset

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 notifiations per Publish is the sum of monitoredItems in the DataChangeNotification and events in the EventNotificationList.

byte UnifiedAutomation.UaBase.CreateSubscriptionRequest.Priority
getset

Indicates the relative priority of the Subscription.

When more than one Subscription needs to send Notifications, the Server should dequeue a Publish request to the Subscription with the highest priority number. For Subscriptions with equal priority the Server should dequeue Publish requests in a round-robin fashion. When the keep-alive period expires for a Subscription it shall take precedence regardless of its priority, in order to prevent the Subscription from expiring.

A Client that does not require special priority settings should set this value to zero.

bool UnifiedAutomation.UaBase.CreateSubscriptionRequest.PublishingEnabled
getset

A Boolean parameter with the following values:

TRUE
publishing is enabled for the Subscription.
FALSE
publishing is disabled for the Subscription.

The value of this parameter does not affect the value of the monitoring mode Attribute of MonitoredItems.

uint UnifiedAutomation.UaBase.CreateSubscriptionRequest.RequestedLifetimeCount
getset

Requested lifetime count.

The lifetime count shall be a mimimum 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.

uint UnifiedAutomation.UaBase.CreateSubscriptionRequest.RequestedMaxKeepAliveCount
getset

Requested 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.

double UnifiedAutomation.UaBase.CreateSubscriptionRequest.RequestedPublishingInterval
getset

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.

RequestHeader UnifiedAutomation.UaBase.CreateSubscriptionRequest.RequestHeader
getset


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