diff options
Diffstat (limited to 'Swiften/EventLoop/EventLoop.h')
-rw-r--r-- | Swiften/EventLoop/EventLoop.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/EventLoop/EventLoop.h b/Swiften/EventLoop/EventLoop.h index 54e0fe7..27a8c9c 100644 --- a/Swiften/EventLoop/EventLoop.h +++ b/Swiften/EventLoop/EventLoop.h @@ -40,22 +40,23 @@ namespace Swift { * event queue. */ void removeEventsFromOwner(boost::shared_ptr<EventOwner> owner); protected: /** - * The \ref handleNextEvent method is called by an implementation of the abstract \ref EventLoop class + * The \ref handleNextEvents method is called by an implementation of the abstract \ref EventLoop class * at any point after the virtual \ref eventPosted method has been called. * This method does not block, except for short-time synchronization. + * It can process multiple events before it reutrns. */ - void handleNextEvent(); + void handleNextEvents(); /** * The \ref eventPosted virtual method serves as notification for when events are still available in the queue. * It is called after the first event is posted to an empty queue or after an event has been handled in - * \ref handleNextEvent and there are still remaining events in the queue. + * \ref handleNextEvents and there are still remaining events in the queue. */ virtual void eventPosted() = 0; private: unsigned int nextEventID_; std::list<Event> events_; |