Class SessionDiagnosticsObjectNode

    • Constructor Detail

      • SessionDiagnosticsObjectNode

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

      • getSessionDiagnostics

        public com.plccom.opc.ua.core.SessionDiagnosticsDataType getSessionDiagnostics()
                                                                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the SessionDiagnostics
        Returns:
        the SessionDiagnostics
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setSessionDiagnostics

        public com.plccom.opc.ua.builtintypes.StatusCode setSessionDiagnostics​(com.plccom.opc.ua.core.SessionDiagnosticsDataType value)
                                                                        throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                               com.plccom.opc.ua.common.ServiceResultException
        Sets the SessionDiagnostics
        Parameters:
        value - the new SessionDiagnostics
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getSessionSecurityDiagnostics

        public com.plccom.opc.ua.core.SessionSecurityDiagnosticsDataType getSessionSecurityDiagnostics()
                                                                                                throws com.plccom.opc.ua.encoding.DecodingException,
                                                                                                       com.plccom.opc.ua.common.ServiceFaultException,
                                                                                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the SessionSecurityDiagnostics
        Returns:
        the SessionSecurityDiagnostics
        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
      • setSessionSecurityDiagnostics

        public com.plccom.opc.ua.builtintypes.StatusCode setSessionSecurityDiagnostics​(com.plccom.opc.ua.core.SessionSecurityDiagnosticsDataType value)
                                                                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                       com.plccom.opc.ua.common.ServiceResultException
        Sets the SessionSecurityDiagnostics
        Parameters:
        value - the new SessionSecurityDiagnostics
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getSubscriptionDiagnosticsArray

        public com.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[] getSubscriptionDiagnosticsArray()
                                                                                                 throws com.plccom.opc.ua.encoding.DecodingException,
                                                                                                        com.plccom.opc.ua.common.ServiceFaultException,
                                                                                                        com.plccom.opc.ua.common.ServiceResultException
        Returns the SubscriptionDiagnosticsArray
        Returns:
        the SubscriptionDiagnosticsArray
        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
      • setSubscriptionDiagnosticsArray

        public com.plccom.opc.ua.builtintypes.StatusCode setSubscriptionDiagnosticsArray​(com.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[] value)
                                                                                  throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                         com.plccom.opc.ua.common.ServiceResultException
        Sets the SubscriptionDiagnosticsArray
        Parameters:
        value - the new SubscriptionDiagnosticsArray
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error