com.prosysopc.ua.server
Class SemanticChangeEvent

java.lang.Object
  extended by com.prosysopc.ua.server.SemanticChangeEvent

public class SemanticChangeEvent
extends Object


Constructor Summary
SemanticChangeEvent(org.opcfoundation.ua.common.NamespaceTable namespaceTable)
           
 
Method Summary
 void addChange(org.opcfoundation.ua.builtintypes.NodeId affectedNode, org.opcfoundation.ua.builtintypes.NodeId typeDefinition)
          Add a semantic change to the event before triggering it.
 void addChange(UaNode affectedNode)
          Add a semantic change to the event before triggering it.
 void clearChanges()
           
 org.opcfoundation.ua.core.SemanticChangeStructureDataType[] getChanges()
          Get the raw changes.
 void setChanges(org.opcfoundation.ua.core.SemanticChangeStructureDataType[] changes)
          Sets the list of changes to send.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticChangeEvent

public SemanticChangeEvent(org.opcfoundation.ua.common.NamespaceTable namespaceTable)
Method Detail

addChange

public void addChange(org.opcfoundation.ua.builtintypes.NodeId affectedNode,
                      org.opcfoundation.ua.builtintypes.NodeId typeDefinition)
Add a semantic change to the event before triggering it.

Parameters:
affectedNode - The Node that was affected
typeDefinition - the type of the node, in case it is an Object or Variable node

addChange

public void addChange(UaNode affectedNode)
Add a semantic change to the event before triggering it.

Parameters:
affectedNode - The node that was changed

clearChanges

public void clearChanges()

getChanges

public org.opcfoundation.ua.core.SemanticChangeStructureDataType[] getChanges()
Get the raw changes.

Returns:
the changes

setChanges

public void setChanges(org.opcfoundation.ua.core.SemanticChangeStructureDataType[] changes)
Sets the list of changes to send. Use this method, if you manage the change list yourself and just wish to trigger the event using the pre-built list. Note that this is an alternative way to define the changes, and you cannot use addChange after setting the changes.



Copyright © 2018. All rights reserved.