18 #ifndef EQ_MESSAGEPUMP_H
19 #define EQ_MESSAGEPUMP_H
48 LB_TIMEOUT_INDEFINITE ) = 0;
52 { LBWARN <<
"Missing message pump for Deflect" << std::endl; }
59 #endif //EQ_MESSAGEPUMP_H
virtual void register_(dc::Proxy *)
Register a new DC connection for event dispatch.
virtual void postWakeup()=0
Unblock dispatchOne().
virtual void dispatchOne(const uint32_t timeout=LB_TIMEOUT_INDEFINITE)=0
Dispatch at least one pending system event, blocks potentially.
An interface to process system messages or events.
virtual void deregister(dc::Proxy *)
Deregister a DC connection from event dispatch.
virtual ~MessagePump()
Destruct this message pump.
virtual void dispatchAll()=0
Dispatch all pending system events, does not block.
MessagePump()
Construct a new message pump.