Schnittstelle PeripheralJobCallback


public interface PeripheralJobCallback
A callback used to inform about the successful or failed completion of jobs.
  • Methodendetails

    • peripheralJobFinished

      void peripheralJobFinished(@Nonnull TCSObjectReference<PeripheralJob> ref)
      Called on successful completion of a job.

      This method is supposed to be called only from the kernel executor thread.

      Parameter:
      ref - A reference to the peripheral job that was successfully completed.
    • peripheralJobFailed

      void peripheralJobFailed(@Nonnull TCSObjectReference<PeripheralJob> ref)
      Called on failed completion of a job.

      This method is supposed to be called only from the kernel executor thread.

      Parameter:
      ref - A reference to the peripheral job whose completion has failed.