Package com.wombat.mama
Interface MamaTimerCallback
-
public interface MamaTimerCallbackConcrete instances of this interface are registered with the creation of a MamaTimer and used for processing timer event notifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDestroy(MamaTimer timer)This method is invoked when a timer has been completely destroyed, the client can have confidence that no further events will be placed on the queue for this timer.voidonTimer(MamaTimer timer)Invoked when an event for a timer which has fired is dispatched from the associated event queue.
-
-
-
Method Detail
-
onTimer
void onTimer(MamaTimer timer)
Invoked when an event for a timer which has fired is dispatched from the associated event queue.- Parameters:
timer- The MamaTimer object which resulted in this callback being invoked.
-
onDestroy
void onDestroy(MamaTimer timer)
This method is invoked when a timer has been completely destroyed, the client can have confidence that no further events will be placed on the queue for this timer.- Parameters:
timer- The MamaTimer.
-
-