- virtual void receiveBacklog(BufferId bufferId, int lastMsgs, int offset, QVariantList msgs);
- virtual QVariantList requestBacklog(BufferId bufferId, int lastMsgs = -1, int offset = -1);
- void requestInitialBacklog();
+ QVariantList requestBacklog(BufferId bufferId, MsgId first = -1, MsgId last = -1, int limit = -1, int additional = 0) override;
+ void receiveBacklog(BufferId bufferId, MsgId first, MsgId last, int limit, int additional, QVariantList msgs) override;
+ void receiveBacklogAll(MsgId first, MsgId last, int limit, int additional, QVariantList msgs) override;
+
+ void requestInitialBacklog();
+
+ void checkForBacklog(BufferId bufferId);
+ void checkForBacklog(const BufferIdList &bufferIds);
+
+signals:
+ void messagesReceived(BufferId bufferId, int count) const;
+ void messagesRequested(const QString &) const;
+ void messagesProcessed(const QString &) const;
+
+ void updateProgress(int, int);