Class AuditCreateSessionEventNode

    • Constructor Detail

      • AuditCreateSessionEventNode

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

      • getSecureChannelId

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

        public com.plccom.opc.ua.builtintypes.StatusCode setSecureChannelId​(String value)
                                                                     throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute SECURE_CHANNEL_ID of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the SECURE_CHANNEL_ID attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • 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
      • getRevisedSessionTimeout

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

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