diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-01-17 18:27:09 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-06-02 03:11:30 +0000 |
commit | bfcb8c6dcaac8563226dffb4d2d3c1fb6e666683 (patch) | |
tree | e0f7f29a8d43dbb6f7e92e30b07d7cd6455e499e /src/testlib/qtestcase.h | |
parent | c901cdadc0a6ec65eddfe4f181274e56567f9973 (diff) |
Examples: change the main network-chat protocol to CBOR
This complements the previous commit, which changed the broadcast
datagram to CBOR. This commit changes the TCP protocol too. The protocol
is an infinite array of commands, each of which is a map from an integer
(the DataType enum) to either a string or null.
The entire state machine for the connection is rewritten, relying on
QCborStreamReader's ability to deal with incomplete data.
Change-Id: Ic38ec929fc3f4bb795dafffd150ac674c32fac87
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qtestcase.h')
0 files changed, 0 insertions, 0 deletions