Class GeneralModelChangeEventNode

    • Constructor Detail

      • GeneralModelChangeEventNode

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

      • getChanges

        public com.plccom.opc.ua.core.ModelChangeStructureDataType[] getChanges()
                                                                         throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute CHANGES from cache or directly from connected ua server
        Returns:
        the CHANGES attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setChanges

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