Class DelayedMessage
java.lang.Object
com.codinglitch.simpleradio.radio.DelayedMessage
- All Implemented Interfaces:
Comparable<Delayed>,Delayed
-
Field Summary
Fields -
Method Summary
-
Field Details
-
message
-
destination
-
-
Method Details
-
getDelay
-
secondsLeft
public float secondsLeft()Gets the amount of time left in seconds.- Returns:
- The time left
-
timeLeft
public long timeLeft()Gets the amount of time left in milliseconds.- Returns:
- The time left
-
compareTo
- Specified by:
compareToin interfaceComparable<Delayed>
-