48 Commits

Author SHA1 Message Date
Allan Bazinet
bb99fe506d Move error handling connection to implementation 2024-11-06 06:28:51 -08:00
Allan Bazinet
d6106a863b Suppress only on connectoin refused error 2024-11-06 06:13:41 -08:00
Allan Bazinet
aef2fc0f6b Simplify / document UDP error handling suppression 2024-11-06 06:00:11 -08:00
Allan Bazinet
59f1084895 Add basic multicast capability to message client 2024-11-05 06:37:34 -08:00
Allan Bazinet
080494f602 Decouple spot client from message client
Decouple under-the-covers usage of the message client’s socket by the spot client, in order to facilitate future multicast operations by the message client.
2024-11-05 06:36:43 -08:00
Allan Bazinet
bb33f50bef Use QNetworkDatagram 2024-11-04 20:49:05 -08:00
Allan Bazinet
557601bc44 Remove catch-all exception
Exceptions from Message::fromJson() are always a std::exception; no need for a catch-all handler.
2024-11-03 23:44:42 -08:00
Allan Bazinet
1d6d2415ee Correct includes 2024-11-03 23:10:36 -08:00
Allan Bazinet
cf18308e2b Collapse message parsing to common function
Eliminate duplicate code; move all Message parsing to Message::fromJson() functions.
2024-11-03 23:02:32 -08:00
Allan Bazinet
dfe3780288 Revise Message deserialization
Replace read() function with fromJson() statics.
2024-11-03 22:25:38 -08:00
Allan Bazinet
3fb239a44d Add missing includes 2024-11-03 13:57:56 -08:00
Allan Bazinet
8e21be7931 Don’t serialize messages until we have to 2024-11-03 11:22:57 -08:00
Allan Bazinet
924caaf53d Ensure we can’t get into an infinite queue loop 2024-11-03 10:42:29 -08:00
Allan Bazinet
e797909188 Use consistent naming 2024-11-03 10:32:24 -08:00
Allan Bazinet
240f8ed61f Addres lookup thread inertia on reset 2024-11-03 10:29:27 -08:00
Allan Bazinet
1117947c78 Document thread safety of functor 2024-11-03 08:19:39 -08:00
Allan Bazinet
d11525ea11 Use consistent naming 2024-11-03 08:12:54 -08:00
Allan Bazinet
defc277d12 Use consistent naming 2024-11-03 08:11:34 -08:00
Allan Bazinet
46c015ee32 Address host lookup possible race condition 2024-11-03 07:48:53 -08:00
Allan Bazinet
f0223fbadf Use first() function 2024-11-03 06:58:08 -08:00
Allan Bazinet
f293101c2f Clean up and formatting 2024-11-03 06:27:13 -08:00
Allan Bazinet
c1fe8a431d Introduce MessageError namespace 2024-11-03 06:20:05 -08:00
Allan Bazinet
2f8a4f7c1e Rename parsing utilities 2024-11-02 22:19:11 -07:00
Allan Bazinet
de23247518 Extract message parsing function 2024-11-02 22:10:28 -07:00
Allan Bazinet
2e21674758 Inline message handling 2024-11-02 17:15:31 -07:00
Allan Bazinet
8c3d51466a Use chrono duration convenience types 2024-11-02 16:10:10 -07:00
Allan Bazinet
f847695eea Eliminate nonexistent signal and unused slot
The message_received signal is never actually emitted; no point in having it present. The blocked hosts function complicates things, is never actually used, and is of questionable value to us in the first place.
2024-11-02 14:40:46 -07:00
Allan Bazinet
f828918e9b Eliminate unused include 2024-11-02 14:23:08 -07:00
Allan Bazinet
35d33e9300 Eliminate type definitions 2024-11-02 14:22:22 -07:00
Allan Bazinet
ed214f7458 Update commentary 2024-11-02 11:31:10 -07:00
Allan Bazinet
a909e049b8 Ongoing MessageClient cleanup 2024-11-02 11:25:49 -07:00
Allan Bazinet
7a09fc698a Simplify MessageClient constructor
Don’t pass arguments that we don’t use.
2024-11-02 09:21:43 -07:00
Allan Bazinet
5df58e6f00 Validate and reset dns lookup id 2024-11-02 07:15:46 -07:00
Allan Bazinet
6c428230c3 Reimplement MessageClient
Simplify host callback methodology; abort DNS lookups if in flight during close. Use set rather than vector for blocked hosts storage.
2024-11-02 07:11:46 -07:00
Allan Bazinet
c1b5e5d9d3 Use non-macro slot binding 2024-10-21 15:31:51 -07:00
Allan Bazinet
e377385bfa Initial round of Qt5 deprecation fixes 2024-08-31 09:40:28 -07:00
Jordan Sherer
bdfc1cff8e Squashed commit of the following:
commit e48c78765ca1e2e5a68fd93bac7191eaf6918352
Author: Jordan Sherer <jordan@widefido.com>
Date:   Wed Jan 2 12:23:28 2019 -0500

    Transition to persistent inbox for later retrieval
    Fixed issue with inbox items disappearing due to aging.

commit 1df07595bf6507438c1488839f7a2075a432a1a1
Author: Jordan Sherer <jordan@widefido.com>
Date:   Wed Jan 2 09:23:28 2019 -0500

    Filtered value and count queries for the inbox

commit c93a93a1c43a65fae4a31ddeb40c77c53204bbdb
Author: Jordan Sherer <jordan@widefido.com>
Date:   Tue Jan 1 22:58:07 2019 -0500

    Initial cut of inbox storage
2019-01-02 12:27:16 -05:00
Jordan Sherer
d08096a934 Initial commit of manual clock drift syncronization 2018-09-18 17:24:07 -04:00
Jordan Sherer
1002dcbc1b Added enable/disable for UDP API. Added DATA for logging instead of RTTY 2018-08-17 10:07:17 -04:00
Jordan Sherer
ca2436c11d Fixed issue with legacy Qt and toSecsSinceEpoch 2018-08-10 14:34:21 -04:00
Jordan Sherer
f4688b44d3 Working through some common api commands 2018-08-09 17:32:19 -04:00
Jordan Sherer
7037baa0a6 Initial commands supported, get and set grid locator, with example app udp.py 2018-08-09 17:32:18 -04:00
Jordan Sherer
e91e93c349 Simplified textual network command structure 2018-08-09 17:32:18 -04:00
Jordan Sherer
10d706e9fa Removed most message client networkmessage serialization 2018-08-09 17:32:18 -04:00
Jordan Sherer
80ed587514 Restructuring message client for external api with a python example 2018-08-09 17:32:18 -04:00
Jordan Sherer
62899069bf Merged master 8748 2018-08-05 11:33:30 -04:00
Jordan Sherer
a32fe6a4dc Updated to r8541 2018-03-05 14:49:51 -05:00
Jordan Sherer
678c1d3966 Initial Commit 2018-02-08 21:28:33 -05:00