public class AddressSpaceManager extends AddressSpaceComposite
AttributeServices.ReadContext, AttributeServices.WriteContextAttributeHistoryServices.HistoryReadContext, AttributeHistoryServices.HistoryUpdateContextMethodServices.CallContextNodeManagementServices.AddNodesContext, NodeManagementServices.AddReferencesContext, NodeManagementServices.DeleteNodesContext, NodeManagementServices.DeleteReferencesContextViewServices.BrowseContext, ViewServices.RegisterNodesContext, ViewServices.UnregisterNodesContext| Constructor and Description |
|---|
AddressSpaceManager(OpcUaServer server) |
| Modifier and Type | Method and Description |
|---|---|
Optional<UaNode> |
getManagedNode(ExpandedNodeId nodeId)
Get the managed
UaNode identified by nodeId from the first registered NodeManager that
has it, if there is one. |
Optional<UaNode> |
getManagedNode(NodeId nodeId)
Get the managed
UaNode identified by nodeId from the first registered NodeManager that
has it, if there is one. |
List<Reference> |
getManagedReferences(NodeId nodeId)
Collect all
References from all registered NodeManagers where nodeId is the source
NodeId in the Reference. |
List<Reference> |
getManagedReferences(NodeId nodeId,
Predicate<Reference> filter)
Collect all
References from all registered NodeManagers where nodeId is the source
NodeId in the Reference and the Reference passes filter. |
void |
register(NodeManager<UaNode> nodeManager)
Register a
NodeManager with this AddressSpaceManager. |
void |
unregister(NodeManager<UaNode> nodeManager)
Unregister a
NodeManager with this AddressSpaceManager. |
addNodes, addReferences, browse, call, deleteNodes, deleteReferences, getAddressSpaces, getFilter, getReferences, getServer, getViewCount, historyRead, historyUpdate, onCreateDataItem, onCreateEventItem, onDataItemsCreated, onDataItemsDeleted, onDataItemsModified, onEventItemsCreated, onEventItemsDeleted, onEventItemsModified, onModifyDataItem, onModifyEventItem, onMonitoringModeChanged, read, register, registerFirst, registerNodes, unregister, unregisterNodes, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbrowsepublic AddressSpaceManager(OpcUaServer server)
public void register(NodeManager<UaNode> nodeManager)
NodeManager with this AddressSpaceManager.nodeManager - the NodeManager to register.public void unregister(NodeManager<UaNode> nodeManager)
NodeManager with this AddressSpaceManager.nodeManager - the NodeManager to register.public Optional<UaNode> getManagedNode(NodeId nodeId)
UaNode identified by nodeId from the first registered NodeManager that
has it, if there is one.public Optional<UaNode> getManagedNode(ExpandedNodeId nodeId)
UaNode identified by nodeId from the first registered NodeManager that
has it, if there is one.nodeId - the ExpandedNodeId identifying the managed UaNode.UaNode identified by nodeId, if there is one.public List<Reference> getManagedReferences(NodeId nodeId)
References from all registered NodeManagers where nodeId is the source
NodeId in the Reference.nodeId - the NodeId of the source NodeId in the Reference.References from all registered NodeManagers where nodeId is the source
NodeId in the Reference.Copyright © 2021. All rights reserved.