Class UaViewNode


  • public class UaViewNode
    extends UaNode
    PLCcom sdk UaViewNode Implementation for Opc Ua, with the UaViewNode object you can read or write Attributes or values from cache or directly from connected ua server
    Author:
    Indi.An GmbH, www.indi-an.com, support@indi-an.com
    • Constructor Detail

      • UaViewNode

        public UaViewNode​(UaClient client,
                          com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Standard constructor for a UaViewNode instances
        Parameters:
        client - a client instance
        nodeId - the based nodeId
    • Method Detail

      • getContainsNoLoops

        public Boolean getContainsNoLoops()
                                   throws com.plccom.opc.ua.common.ServiceFaultException,
                                          com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute ContainsNoLoops from cache or directly from connected ua server
        Returns:
        the ContainsNoLoops attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getEventNotifier

        public com.plccom.opc.ua.builtintypes.UnsignedByte getEventNotifier()
                                                                     throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                            com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute EventNotifier from cache or directly from connected ua server
        Returns:
        the EventNotifier attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setContainsNoLoops

        public com.plccom.opc.ua.builtintypes.StatusCode setContainsNoLoops​(boolean containsNoLoops)
                                                                     throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute containsNoLoops of this node at connected ua server and refreshing the nodecache
        Parameters:
        containsNoLoops - the containsNoLoops attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setEventNotifier

        public com.plccom.opc.ua.builtintypes.StatusCode setEventNotifier​(com.plccom.opc.ua.builtintypes.UnsignedByte eventNotifier)
                                                                   throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute eventNotifier of this node at connected ua server and refreshing the nodecache
        Parameters:
        eventNotifier - the eventNotifier attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • readContainsNoLoops

        public com.plccom.opc.ua.builtintypes.DataValue readContainsNoLoops()
                                                                     throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                            com.plccom.opc.ua.common.ServiceResultException
        Reads the complete datavalue of attribute ContainsNoLoops this node from cache or directly from connected ua server
        Returns:
        a datavalue object with the attribute ContainsNoLoops
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • readEventNotifier

        public com.plccom.opc.ua.builtintypes.DataValue readEventNotifier()
                                                                   throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                          com.plccom.opc.ua.common.ServiceResultException
        Reads the complete datavalue of attribute EventNotifier this node from cache or directly from connected ua server
        Returns:
        a datavalue object with the attribute EventNotifier
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • writeContainsNoLoops

        public com.plccom.opc.ua.builtintypes.StatusCode writeContainsNoLoops​(com.plccom.opc.ua.builtintypes.DataValue value)
                                                                       throws com.plccom.opc.ua.common.ServiceResultException
        Writes the ContainsNoLoops attribute
        Parameters:
        value - a datavalue object with informations to write
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • writeEventNotifier

        public com.plccom.opc.ua.builtintypes.StatusCode writeEventNotifier​(com.plccom.opc.ua.builtintypes.DataValue value)
                                                                     throws com.plccom.opc.ua.common.ServiceResultException
        Writes the EventNotifier attribute
        Parameters:
        value - a datavalue object with informations to write
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error