JS8Call-Improved master
Loading...
Searching...
No Matches
HBBlockingDB Class Reference

Tracks per-callsign ALLCALL timestamps for rate-limiting replies. More...

#include <HBBlockingDB.h>

Public Member Functions

 HBBlockingDB (const QString &path)
bool open ()
void close ()
bool isOpen () const
QString error () const
bool upsertAllcallReplyTimestamp (const QString &callsign, const QDateTime &ts)
QDateTime getAllcallReplyTimestamp (const QString &callsign)
bool deleteAllcallReplyTimestamp (const QString &callsign)

Detailed Description

Tracks per-callsign ALLCALL timestamps for rate-limiting replies.

Stores the last-seen timestamp for each callsign in a dedicated SQLite database (hb_blocking.db3). If a station ALLCALL's again within the 55 minute block window, the auto-reply is suppressed. This prevents spamming for ALLCALL-related commands (HB, QUERY MSGS, QUERY CALL).

ALLCALL reply cooldown replaces the former QCache method in processCommandActivity.cpp


The documentation for this class was generated from the following files: