Class 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 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 a UaNode instance for the provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        a UaNode instance
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.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 an UaObjectNode instance for the provided NodeId.
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaObjectNode instance
        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 a UaVariableNode instance for the provided NodeId.
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaVariableNode instance
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • createDataTypeNode

        public UaDataTypeNode createDataTypeNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Method create a new UaDataTypeNode instance with provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaDataTypeNode instance
      • createMethodNode

        public UaMethodNode createMethodNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Method create a new UaMethodNode instance with provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaMethodNode instance
      • createObjectNode

        public UaObjectNode createObjectNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Method create a new UaObjectNode instance with provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaObjectNode instance
      • createObjectTypeNode

        public UaObjectTypeNode createObjectTypeNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Method create a new UaObjectTypeNode instance with provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaObjectTypeNode instance
      • createVariableNode

        public UaVariableNode createVariableNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Method create a new UaVariableNode instance with provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaVariableNode instance
      • createViewNode

        public UaViewNode createViewNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Method create a new UaViewNode instance with provided NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        an UaViewNode instance
      • createUaNode

        public UaNode createUaNode​(com.plccom.opc.ua.builtintypes.NodeId nodeId)
                            throws com.plccom.opc.ua.common.ServiceResultException
        Returns a new UaNode Instance depends of given NodeId
        Parameters:
        nodeId - the NodeId
        Returns:
        a new UaNode Instance depends of given NodeId
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error