HANDLES is the callback function that you provide to the timer subscription. This is a function you write somewhere in your code that contains the code you want to run when the timer expires. I suggest you look at this post on event driven programming to understand the subscription - event model used in OpenAT.