Class ProgressEventNode

    • Constructor Detail

      • ProgressEventNode

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

      • getContext

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

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

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

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