Package jadex.bridge.service.types.clock
Interface ITimer
-
public interface ITimer
Interface for a timer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
Cancel the timer.long
getNotificationTime()
Get the next notification time.ITimedObject
getTimedObject()
Get the timed object associated with this timer.void
setNotificationTime(long time)
Change notification time.
-
-
-
Method Detail
-
cancel
void cancel()
Cancel the timer.
-
getNotificationTime
long getNotificationTime()
Get the next notification time.- Returns:
- The notification time.
-
setNotificationTime
void setNotificationTime(long time)
Change notification time.- Parameters:
The
- notification time.
-
getTimedObject
ITimedObject getTimedObject()
Get the timed object associated with this timer.- Returns:
- The timed object.
-
-