ostinato/rpc
Srivats P 75ce626532 Convert RPC channel's static vars to data members
Using static vars meant all connections were using the same static vars!
A bug that has existed since 2009!

This code is ugly, but since it is such a fundamental piece of code for
every operation, no refactoring is being done except to convert the
static vars to data members renaming where required to avoid name
conflicts. The one exception is that `cumLen` which was a per hdr.type
variable is now a single data member across all types. Since for a
single connection messages will be sequential this is expected to work
(fingers crossed!)

For the future we should look at replacing the custom RPC code with GRPC
(issue #305).

Fixes #304
2020-05-12 21:33:54 +05:30
..
pbhelper.h Feature: Reserve Ports for cooperative use of shared drone. If a port is reserved the GUI will display the username of the owner but others can still view and control the port; in other words, we just potentially prevent unintentional usage of other people's ports, users still need to play nice with each other! 2015-04-16 22:20:07 +05:30
pbqtio.h Bugfix: Fixed bugs in RPC Channel read function that causes the client to miss some messages or not receive any at all (see the diff for details); these bugs are day one bugs but adding the Notify RPC increased the chances of seeing them 2015-05-01 13:20:12 +05:30
pbrpc.pro Treat warnings as errors and fix existing warnings 2018-04-20 20:50:51 +05:30
pbrpcchannel.cpp Convert RPC channel's static vars to data members 2020-05-12 21:33:54 +05:30
pbrpcchannel.h Convert RPC channel's static vars to data members 2020-05-12 21:33:54 +05:30
pbrpccommon.h Port common, rpc and client code to Qt5 2018-03-14 21:58:56 +05:30
pbrpccontroller.h Infra: Added code to disable notifications for python-ostinato scripts since python-ostinato does not expect and hence does not know how to deal with notifications 2015-05-01 21:41:04 +05:30
rpcconn.cpp Print RPC MethodName and ResponseMsgName on server 2019-02-09 18:22:57 +05:30
rpcconn.h Print RPC MethodName and ResponseMsgName on server 2019-02-09 18:22:57 +05:30
rpcserver.cpp Remove QThreadX since we have ported to Qt5 2019-07-28 10:42:11 +05:30
rpcserver.h Disable logs by default in release mode 2019-07-02 18:25:31 +05:30
sharedprotobufmessage.h Bugfix: Use 'smart' pointer to refcount and auto-destruct to avoid notification memory leaks 2015-04-28 18:45:35 +05:30