summaryrefslogtreecommitdiffstats
path: root/src/server/EventSource.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/EventSource.hpp')
-rw-r--r--src/server/EventSource.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/EventSource.hpp b/src/server/EventSource.hpp
index 4425586d..65afece4 100644
--- a/src/server/EventSource.hpp
+++ b/src/server/EventSource.hpp
@@ -35,7 +35,10 @@ class EventSource
public:
virtual ~EventSource() {}
- virtual void process(PostProcessor& dest,
+ /** Process events for a cycle.
+ * @return False iff this source is finished and should be removed.
+ */
+ virtual bool process(PostProcessor& dest,
ProcessContext& context,
bool limit = true) = 0;
};