- All Implemented Interfaces:
Ack
public abstract class AckWithTimeout
extends Object
implements Ack
-
Constructor Summary
Constructors
-
Method Summary
final void
final void
abstract void
abstract void
final void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
cancelTimer
public final void cancelTimer()
-
onSuccess
public abstract void onSuccess(Object... args)
-
onTimeout
public abstract void onTimeout()