Class AuditOpenSecureChannelEventNode

    • Constructor Detail

      • AuditOpenSecureChannelEventNode

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

      • getClientCertificate

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

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

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

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

        public com.plccom.opc.ua.core.SecurityTokenRequestType getRequestType()
                                                                       throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                              com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute REQUEST_TYPE from cache or directly from connected ua server
        Returns:
        the REQUEST_TYPE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setRequestType

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

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

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

        public com.plccom.opc.ua.core.MessageSecurityMode getSecurityMode()
                                                                   throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                          com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute SECURITY_MODE from cache or directly from connected ua server
        Returns:
        the SECURITY_MODE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setSecurityMode

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

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

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