Class DeviceAddingCancellationToken

java.lang.Object
com.medm.devicekit.DeviceAddingCancellationToken

public class DeviceAddingCancellationToken extends Object
Cancellation token -- could be used to cancel asynchronous add operation.
  • Method Details

    • cancel

      public void cancel()
      Cancel the operation
    • isCancelled

      public boolean isCancelled()
      Check if the operation is already cancelled
      Returns:
      true, if cancelled
    • isDone

      public boolean isDone()
      Check if the operation is finished
      Returns:
      true, if done