Classes Files

com::wombat::mama::MamaTimerCallback

More…

Public Functions

  Name
void onTimer(MamaTimer timer)
void onDestroy(MamaTimer timer)

Detailed Description

class com::wombat::mama::MamaTimerCallback;

Concrete instances of this interface are registered with the creation of a MamaTimer and used for processing timer event notifications.

Public Functions Documentation

function onTimer

void onTimer(
    MamaTimer timer
)

Parameters:

  • timer The MamaTimer object which resulted in this callback being invoked.

Invoked when an event for a timer which has fired is dispatched from the associated event queue.

function onDestroy

void onDestroy(
    MamaTimer timer
)

Parameters:

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.


Updated on 2023-03-31 at 15:29:44 +0100