event/IdleMonitor: refactor to IdleEvent
Instead of using this as a base class implementing a virtual method,
the new class IdleEvent can be used as a variable, decoupling
IdleMonitor's internal state from the derived class.
This is similar to commit 30a5dd26
which refactored TimeoutMonitor to TimerEvent.
Showing
Please
register
or
sign in
to comment