Class AuditAddReferencesEventNode

    • Constructor Detail

      • AuditAddReferencesEventNode

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

      • getReferencesToAdd

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

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