Class AuditSessionEventNode

    • Constructor Detail

      • AuditSessionEventNode

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

      • getSessionId

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

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