Class AcknowledgeableConditionNode

    • Constructor Detail

      • AcknowledgeableConditionNode

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

      • getEnabledState

        public com.plccom.opc.ua.builtintypes.LocalizedText getEnabledState()
                                                                     throws com.plccom.opc.ua.encoding.DecodingException,
                                                                            com.plccom.opc.ua.common.ServiceFaultException,
                                                                            com.plccom.opc.ua.common.ServiceResultException
        returns the enabled state of node
        Overrides:
        getEnabledState in class ConditionNode
        Returns:
        the enabled state
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
      • setEnabledState

        public com.plccom.opc.ua.builtintypes.StatusCode setEnabledState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                  throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                         com.plccom.opc.ua.common.ServiceResultException
        Sets the enable state
        Overrides:
        setEnabledState in class ConditionNode
        Parameters:
        value - the enabled state
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
        com.plccom.opc.ua.common.ServiceFaultException
      • getAcknowledgeableState

        public com.plccom.opc.ua.builtintypes.LocalizedText getAcknowledgeableState()
                                                                             throws com.plccom.opc.ua.encoding.DecodingException,
                                                                                    com.plccom.opc.ua.common.ServiceFaultException,
                                                                                    com.plccom.opc.ua.common.ServiceResultException
        returns the acknowledgeable state of node
        Returns:
        the acknowledgeable state
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setAcknowledgeableState

        public com.plccom.opc.ua.builtintypes.StatusCode setAcknowledgeableState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                          throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                 com.plccom.opc.ua.common.ServiceResultException
        Sets the acknowledgeable state
        Parameters:
        value - the acknowledgeable state
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getConfirmedState

        public com.plccom.opc.ua.builtintypes.LocalizedText getConfirmedState()
                                                                       throws com.plccom.opc.ua.encoding.DecodingException,
                                                                              com.plccom.opc.ua.common.ServiceFaultException,
                                                                              com.plccom.opc.ua.common.ServiceResultException
        returns the confirmed state of node
        Returns:
        the confirmed state
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setConfirmedState

        public com.plccom.opc.ua.builtintypes.StatusCode setConfirmedState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                    throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                           com.plccom.opc.ua.common.ServiceResultException
        Sets the confirmed state
        Parameters:
        value - the confirmed state
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error