DaemonApp.startEventHandling

This method must be called in order for signal and timer event handling to start being processed. As it registers clients (the stats timer and signal handler) with epoll which will always reregister themselves after firing, you should call this method when you are about to start your application's main event loop.

Note that, as this method constructs the timer extension, it may only be used once this method has been called.

class DaemonApp
void
startEventHandling

Parameters

epoll EpollSelectDispatcher

the epoll instance to use for event handling. If null is passed, then the epoll-accepting-ctor must have been called. If non-null is passed, then the other ctor must have been called.

Meta