Class TrustListNode

    • Constructor Detail

      • TrustListNode

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

      • getLastUpdateTime

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

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