Class DelayedOperation


  • public abstract class DelayedOperation
    extends Object
    Performs a delayed action on client side. Usage:
      new DelayedOperation() {
        // @Override
        public void doJob() {
          // Here the code...
        }
      }.start(5000); // the operation will start after 5 secs.
     
    Author:
    Daniele Strollo (ISTI-CNR)
    • Constructor Detail

      • DelayedOperation

        public DelayedOperation()
    • Method Detail

      • start

        public final void start​(int delayMills)
      • loop

        public final void loop​(int delayMills)
      • doJob

        public abstract void doJob()