Class UaAddressSpace
- java.lang.Object
-
- com.plccom.opc.ua.client.application.UaAddressSpace
-
public class UaAddressSpace extends Object
PLCcom sdk UaAddressSpace Implementation for Opc Ua Class includes functions and methods to manage and create UaNodes and their derived classes- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description UaAddressSpace(UaClient client)Creates a new address space helper for the given client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UaDataTypeNodecreateDataTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaDataTypeNodeinstance with providedNodeIdUaMethodNodecreateMethodNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaMethodNodeinstance with providedNodeIdUaObjectNodecreateObjectNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaObjectNodeinstance with providedNodeIdUaObjectTypeNodecreateObjectTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaObjectTypeNodeinstance with providedNodeIdUaReferenceTypeNodecreateReferenceTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaReferenceTypeNodeinstance with providedNodeIdUaNodecreateUaNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Returns a newUaNodeInstance depends of givenNodeIdUaVariableNodecreateVariableNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaVariableNodeinstance with providedNodeIdUaVariableTypeNodecreateVariableTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaVariableTypeNodeinstance with providedNodeIdUaViewNodecreateViewNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Method create a newUaViewNodeinstance with providedNodeIdUaNodegetUaNodeInstance(com.plccom.opc.ua.builtintypes.NodeId nodeId)Returns aUaNodeinstance for the providedNodeIdUaObjectNodegetUaObjectNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Returns anUaObjectNodeinstance for the providedNodeId.UaVariableNodegetUaVariableNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)Returns aUaVariableNodeinstance for the providedNodeId.
-
-
-
Constructor Detail
-
UaAddressSpace
public UaAddressSpace(UaClient client)
Creates a new address space helper for the given client.- Parameters:
client- the owning client instance
-
-
Method Detail
-
getUaNodeInstance
public UaNode getUaNodeInstance(com.plccom.opc.ua.builtintypes.NodeId nodeId) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns aUaNodeinstance for the providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- a
UaNodeinstance - Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getUaObjectNode
public UaObjectNode getUaObjectNode(com.plccom.opc.ua.builtintypes.NodeId nodeId) throws com.plccom.opc.ua.common.ServiceResultException
Returns anUaObjectNodeinstance for the providedNodeId.- Parameters:
nodeId- theNodeId- Returns:
- an
UaObjectNodeinstance - Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getUaVariableNode
public UaVariableNode getUaVariableNode(com.plccom.opc.ua.builtintypes.NodeId nodeId) throws com.plccom.opc.ua.common.ServiceResultException
Returns aUaVariableNodeinstance for the providedNodeId.- Parameters:
nodeId- theNodeId- Returns:
- an
UaVariableNodeinstance - Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
createDataTypeNode
public UaDataTypeNode createDataTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaDataTypeNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaDataTypeNodeinstance
-
createMethodNode
public UaMethodNode createMethodNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaMethodNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaMethodNodeinstance
-
createObjectNode
public UaObjectNode createObjectNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaObjectNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaObjectNodeinstance
-
createObjectTypeNode
public UaObjectTypeNode createObjectTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaObjectTypeNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaObjectTypeNodeinstance
-
createReferenceTypeNode
public UaReferenceTypeNode createReferenceTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaReferenceTypeNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaReferenceTypeNodeinstance
-
createVariableNode
public UaVariableNode createVariableNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaVariableNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaVariableNodeinstance
-
createVariableTypeNode
public UaVariableTypeNode createVariableTypeNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaVariableTypeNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaVariableTypeNodeinstance
-
createViewNode
public UaViewNode createViewNode(com.plccom.opc.ua.builtintypes.NodeId nodeId)
Method create a newUaViewNodeinstance with providedNodeId- Parameters:
nodeId- theNodeId- Returns:
- an
UaViewNodeinstance
-
createUaNode
public UaNode createUaNode(com.plccom.opc.ua.builtintypes.NodeId nodeId) throws com.plccom.opc.ua.common.ServiceResultException
Returns a newUaNodeInstance depends of givenNodeId- Parameters:
nodeId- theNodeId- Returns:
- a new
UaNodeInstance depends of givenNodeId - Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-