event_stub(4gx)

Name
event_stub — Event receiver

Description
event_stub connects to the event(8gx) daemon and sets itself up to receive notifications asynchronously with the help of an extra thread. (No notifications are sent towards event(8gx) by this component.)

event_stub installs one service function, "install_event_stub", with which imap(8gx) registers a callback function that, in turn, is invoked whenever a notification is received from the event daemon.

In practice, imap handles FOLDER-TOUCH, MESSAGE-FLAG and MESSAGE-EXPUNGE notifications received through this event channel.

See also
event(8gx), event_proxy(4gx)