Class AckWithTimeout

java.lang.Object
io.socket.client.AckWithTimeout
All Implemented Interfaces:
Ack

public abstract class AckWithTimeout extends Object implements Ack
  • Constructor Details

    • AckWithTimeout

      public AckWithTimeout(long timeout)
      Parameters:
      timeout - delay in milliseconds
  • Method Details

    • call

      public final void call(Object... args)
      Specified by:
      call in interface Ack
    • schedule

      public final void schedule(TimerTask task)
    • cancelTimer

      public final void cancelTimer()
    • onSuccess

      public abstract void onSuccess(Object... args)
    • onTimeout

      public abstract void onTimeout()