Interface OpcSubscriptionNode
- All Superinterfaces:
- Serializable
An object that provides the information needed to subscribe to a node (the NodeSubscriptionDefinition), and receives
 the QualifiedValue when the subscribed node changes.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieve the last value set by setValue(QualifiedValue) (possibly modified by a call to setQuality(StatusCode).default StringRetrieves the node subscription definition of what this node wants to subscribe todefault PropertySetdefault Stringdefault ServerNodeIddefault StringvoidsetQuality(QualityCode quality) Sets only the quality.voidsetValue(QualifiedValue value) Sets a new value for this subscribable node.
- 
Method Details- 
getNodeSubscriptionDefinitionNodeSubscriptionDefinition getNodeSubscriptionDefinition()Retrieves the node subscription definition of what this node wants to subscribe to
- 
getServerNodeId- Returns:
- this Node's ServerNodeId; the name of the OPC server it belongs to and its NodeId.
 
- 
getServerName
- 
getNodeId
- 
getSubscriptionName- Returns:
- the logical name of the subscription this Node belongs to.
 
- 
getProperties- Returns:
- a PropertySetcontaining configurationPropertyvalues for this node.
 
- 
setValueSets a new value for this subscribable node. This function can be called at any time, regardless of the nodes defined subscription rate. For example, if a driver provides a buffer of data, it can call this function for each value. Other settings in the system will dictate how the values are handled, such as whether each value is processed, or only the latest, after a period of time.
- 
setQualitySets only the quality. It is expected that the quality and timestamp will be updated, but the value will remain unchanged
- 
getLastSubscriptionValueQualifiedValue getLastSubscriptionValue()Retrieve the last value set by setValue(QualifiedValue) (possibly modified by a call to setQuality(StatusCode). Used by the SubscriptionModel to feed the OPC status pane for diagnostic purposes.
 
-