com.prosysopc.ua.server
Class UaServer.NodeManagerUaServer

java.lang.Object
  extended by com.prosysopc.ua.server.ServiceManagerBase
      extended by com.prosysopc.ua.server.NodeManager
          extended by com.prosysopc.ua.server.NodeManagerUaNode
              extended by com.prosysopc.ua.server.UaServer.NodeManagerUaServer
Enclosing class:
UaServer

public class UaServer.NodeManagerUaServer
extends NodeManagerUaNode

Server internal namespace (NamespaceIndex 1)


Field Summary
 
Fields inherited from class com.prosysopc.ua.server.NodeManager
initialized, started
 
Constructor Summary
UaServer.NodeManagerUaServer(UaServer server, String namespaceUri)
           
 
Method Summary
protected  org.opcfoundation.ua.builtintypes.NodeId addNode(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId nodeId, org.opcfoundation.ua.builtintypes.NodeId parentNodeId, org.opcfoundation.ua.builtintypes.QualifiedName browseName, org.opcfoundation.ua.core.NodeClass nodeClass, org.opcfoundation.ua.builtintypes.ExpandedNodeId typeDefinitionId, org.opcfoundation.ua.core.NodeAttributes attributes, org.opcfoundation.ua.builtintypes.NodeId referenceTypeId)
          Handle adding a new node.
protected  void addReference(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId sourceNodeId, org.opcfoundation.ua.builtintypes.ExpandedNodeId targetNodeId, org.opcfoundation.ua.builtintypes.NodeId referenceTypeId, boolean isForward, org.opcfoundation.ua.core.NodeClass targetNodeClass, String targetServerUri)
          Handle adding a reference.
protected  void deleteNode(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId nodeId, Boolean deleteTargetReferences)
           
protected  void deleteReference(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId sourceNodeId, org.opcfoundation.ua.builtintypes.ExpandedNodeId targetNodeId, org.opcfoundation.ua.builtintypes.NodeId referenceTypeId, Boolean isForward, Boolean deleteBidirectional)
           
protected  EnumSet<org.opcfoundation.ua.core.AccessLevel> getAccessLevelForSecurityDiagnostics(ServiceContext serviceContext)
           
 
Methods inherited from class com.prosysopc.ua.server.NodeManagerUaNode
addComponent, addNode, addNodeAndReference, addReference, addReference, addReference, addType, addType, close, createEvent, createEvent, createEvent, createFolder, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createMonitoredDataItem, createNodeBuilder, createNodeBuilder, createNodeBuilder, createNodeBuilder, createNodeBuilder, createNodeBuilder, createNodeForAddNodesRequest, createNodeForNodeSet2, createNodeId, createNodeId, createNodeId, createNodeId, createNodeMap, deleteNode, deleteNode, deleteNode, deleteReference, deleteReference, deleteReference, findNode, getBrowseName, getDisplayName, getIoManager, getNode, getNode, getNodeBuilderConfiguration, getNodeClass, getNodeFactory, getNodeIdDelimiter, getNodeIdFormat, getNodeOrExternal, getNodes, getReferences, getType, getTypeDefinition, getVariableDataType, hasNode, replaceExternalNode, requireUaNode, setNodeBuilderConfiguration, setNodeFactory, setNodeIdDelimiter, supportsUaNode
 
Methods inherited from class com.prosysopc.ua.server.NodeManager
addListener, afterCreateMonitoredDataItem, afterCreateMonitoredEventItem, afterDeleteMonitoredItem, afterModifyMonitoredDataItem, afterModifyMonitoredEventItem, browseNode, callMethod, createMonitoredEventItem, createReferenceDescription, deleteMonitoredItem, findNode, findNodeClass, fireAddNode, fireAddReference, fireAfterAddNode, fireAfterAddReference, fireAfterCreateMonitoredDataItem, fireAfterDeleteMonitoredItem, fireAfterModifyMonitoredDataItem, fireBrowseNode, fireCreateMonitoredDataItem, fireDeleteMonitoredItem, fireDeleteNode, fireDeleteReference, fireModifyMonitoredDataItem, getDefaultLocale, getEventManager, getEventManager, getHistoryManager, getIsOfType, getMethodManager, getNamespaceIndex, getNamespaceTable, getNamespaceUri, getNode, getNodeClass, getNodeId, getQualifiedName, getReferences, getReferenceType, hasListener, init, isInitialized, isOfType, isStarted, modifyMonitoredDataItem, modifyMonitoredEventItem, queryFirst, queryNext, referenceMatchesRequest, registerNode, removeListener, setDefaultLocale, setEventManager, setHistoryManager, setIoManager, setMethodManager, start, toString, translateBrowsePath, unregisterNode
 
Methods inherited from class com.prosysopc.ua.server.ServiceManagerBase
arrayDimensionsMatch, checkIsMethod, checkIsValueNode, checkIsVariable, checkIsVariableOrVariableType, dataTypeEquals, getNode, getNode, getNode, getNodeManagerTable, getServer, getSubscriptionManager, isValueNode, isVariable, listenerError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UaServer.NodeManagerUaServer

public UaServer.NodeManagerUaServer(UaServer server,
                                    String namespaceUri)
Parameters:
server -
namespaceUri -
Method Detail

addNode

protected org.opcfoundation.ua.builtintypes.NodeId addNode(ServiceContext serviceContext,
                                                           org.opcfoundation.ua.builtintypes.NodeId nodeId,
                                                           org.opcfoundation.ua.builtintypes.NodeId parentNodeId,
                                                           org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                                                           org.opcfoundation.ua.core.NodeClass nodeClass,
                                                           org.opcfoundation.ua.builtintypes.ExpandedNodeId typeDefinitionId,
                                                           org.opcfoundation.ua.core.NodeAttributes attributes,
                                                           org.opcfoundation.ua.builtintypes.NodeId referenceTypeId)
                                                    throws StatusException
Description copied from class: NodeManager
Handle adding a new node. NOTE! you should call fireBeforeAddNode before adding the node to check permissions from added listeners and fireAfterAddNode after the node is added. Default implementation throws Bad_NotImplemented.

Overrides:
addNode in class NodeManagerUaNode
Throws:
StatusException

addReference

protected void addReference(ServiceContext serviceContext,
                            org.opcfoundation.ua.builtintypes.NodeId sourceNodeId,
                            org.opcfoundation.ua.builtintypes.ExpandedNodeId targetNodeId,
                            org.opcfoundation.ua.builtintypes.NodeId referenceTypeId,
                            boolean isForward,
                            org.opcfoundation.ua.core.NodeClass targetNodeClass,
                            String targetServerUri)
                     throws StatusException
Description copied from class: NodeManager
Handle adding a reference. NOTE! you should call fireBeforeAddReference before adding the reference to check permissions from added listeners and fireAfterAddReference after the reference is added. Default implementation throws Bad_NotImplemented.

Overrides:
addReference in class NodeManagerUaNode
Throws:
StatusException

deleteNode

protected void deleteNode(ServiceContext serviceContext,
                          org.opcfoundation.ua.builtintypes.NodeId nodeId,
                          Boolean deleteTargetReferences)
                   throws StatusException
Overrides:
deleteNode in class NodeManagerUaNode
Throws:
StatusException

deleteReference

protected void deleteReference(ServiceContext serviceContext,
                               org.opcfoundation.ua.builtintypes.NodeId sourceNodeId,
                               org.opcfoundation.ua.builtintypes.ExpandedNodeId targetNodeId,
                               org.opcfoundation.ua.builtintypes.NodeId referenceTypeId,
                               Boolean isForward,
                               Boolean deleteBidirectional)
                        throws StatusException
Overrides:
deleteReference in class NodeManagerUaNode
Throws:
StatusException

getAccessLevelForSecurityDiagnostics

protected EnumSet<org.opcfoundation.ua.core.AccessLevel> getAccessLevelForSecurityDiagnostics(ServiceContext serviceContext)
Parameters:
serviceContext -
Returns:


Copyright © 2018. All rights reserved.