Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
anonymous_namespace{test_threading.cpp}::TimeoutServer Struct Reference

A WorkerThread server with a short start timeout and a few tools. More...

Public Member Functions

 TimeoutServer (int timeoutMs=300)
 Sets it up and listens on a unique name.

Public Attributes

Server s { ServerThreading::WorkerThread }
 The server.
QString name
 Its socket name.
bool listening = false
 Whether listenLocal() worked.
std::atomic< int > ran = 0
 Runs of "echo".
std::atomic< int > read = 0
 Reads of test://r.

Detailed Description

A WorkerThread server with a short start timeout and a few tools.


The documentation for this struct was generated from the following file:
  • tests/core/test_threading.cpp