Package jadex.bridge.service.types.clock
Interface ITimer
-
public interface ITimerInterface for a timer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Cancel the timer.longgetNotificationTime()Get the next notification time.ITimedObjectgetTimedObject()Get the timed object associated with this timer.voidsetNotificationTime(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.
-
-