Interface CLEventCallbackI

    • Method Detail

      • address

        default long address()
        Description copied from interface: Pointer
        Returns the raw pointer address as a long value.
        Specified by:
        address in interface Pointer
        Returns:
        the pointer address
      • callback

        default void callback(long args)
        Description copied from interface: CallbackI.V
        Will be called by native code.
        Specified by:
        callback in interface CallbackI.V
        Parameters:
        args - pointer to a DCArgs iterator
      • invoke

        void invoke(long event,
                    int event_command_exec_status,
                    long user_data)
        Will be called when the execution status of the command associated with event changes to an execution status equal or past the status specified by command_exec_status."
        Parameters:
        event - the event
        event_command_exec_status - represents the execution status of command for which this callback function is invoked. If the callback is called as the result of the command associated with event being abnormally terminated, an appropriate error code for the error that caused the termination will be passed to event_command_exec_status instead.
        user_data - the user-specified value that was passed when calling SetEventCallback