Package org.jivesoftware.smack
Class ScheduledAction
java.lang.Object
org.jivesoftware.smack.ScheduledAction
- All Implemented Interfaces:
Comparable<Delayed>,Delayed
-
Method Summary
-
Method Details
-
cancel
public boolean cancel()Cancels this scheduled action.- Returns:
trueif the scheduled action was still pending and got removed,falseotherwise.
-
isDue
public boolean isDue() -
getTimeToDueMillis
public long getTimeToDueMillis() -
compareTo
- Specified by:
compareToin interfaceComparable<Delayed>
-
getDelay
-