E-MailRelay
|
Provides static methods to raise an EventHandler event, as used by the various event loop implementations. More...
#include <geventemitter.h>
Static Public Member Functions | |
static void | raiseReadEvent (EventHandler *, EventState &) |
Calls readEvent() on the event handler and catches any exceptions and delivers them to the EventState exception handler. More... | |
static void | raiseWriteEvent (EventHandler *, EventState &) |
Calls writeEvent() on the event handler and catches any exceptions and delivers them to the EventState exception handler. More... | |
static void | raiseOtherEvent (EventHandler *, EventState &, EventHandler::Reason) |
Calls otherEvent() on the event handler and catches any exceptions and delivers them to the EventState exception handler. More... | |
Provides static methods to raise an EventHandler event, as used by the various event loop implementations.
Any exceptions thrown by an event handler are caught and delivered to the associated exception handler.
Event loop implementations are required to keep the EventState object valid when using this interface, even if the event handler deletes the target object(s) (see EventLoop::disarm()).
Definition at line 44 of file geventemitter.h.
|
static |
Calls otherEvent() on the event handler and catches any exceptions and delivers them to the EventState exception handler.
Definition at line 98 of file geventemitter.cpp.
|
static |
Calls readEvent() on the event handler and catches any exceptions and delivers them to the EventState exception handler.
Definition at line 84 of file geventemitter.cpp.
|
static |
Calls writeEvent() on the event handler and catches any exceptions and delivers them to the EventState exception handler.
Definition at line 91 of file geventemitter.cpp.