Class CertificateExpirationAlarmNode

    • Constructor Detail

      • CertificateExpirationAlarmNode

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

      • getExpirationDate

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

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

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

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

        public byte[] getCertificate()
                              throws com.plccom.opc.ua.common.ServiceFaultException,
                                     com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute CERTIFICATE from cache or directly from connected ua server
        Returns:
        the CERTIFICATE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setCertificate

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