aboutsummaryrefslogtreecommitdiffstats
path: root/mock-server/MockServer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unified socket slots, --wire-debug CLI flag, fix mock TX and disconnect loggingThomas Vanbesien2026-03-131-28/+62
| | | | | | | | Collapse 12 per-socket slots into 4 sender()-based slots. Replace runtime wireDebug QML property with static --wire-debug CLI flag on both demo and mock server. Route MockServer::sendKaPing through sendReply so KA_PING TX shows wire bytes. Simplify sendReply to deduce command token from wire data. Fix Xpl2Client disconnect logging (logTag takes pointer, null-sender fallback).
* Coalesce mock server into single MockServer classThomas Vanbesien2026-03-131-0/+122
Replace three independent EchoServer instances with one MockServer that owns three QTcpServers, shares a single KA_PING timer, and uses a flat client list with localPort() for port resolution.