Class AuditUpdateStateEventNode

    • Constructor Detail

      • AuditUpdateStateEventNode

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

      • getOldStateId

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

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

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

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