'Manage timer callbacks indirectly.'

def _timer_callback(self, timer, libev_events):

    if (timer in self._active_timers):
        (callback_method, callback_timeout, kwargs) = self._active_timers[timer]
        self.remove_timeout(timer)
        if callback_timeout:
            callback_method(timeout=timer, **kwargs)
        else:
            callback_method(**kwargs)
    else:
        LOGGER.warning('Timer    callback_method    not    found')
