diff options
author | Javier <dev.git@javispedro.com> | 2015-12-13 15:45:19 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-12-13 15:45:19 +0100 |
commit | c48db815c7847b88907aae58f2a1af5c20d9dc8f (patch) | |
tree | 362293b45a491b671a59a92f7b2f545774e6e796 /webproxyconn.h | |
parent | 97c93d800287a21b971b763d58c1eebb30ece071 (diff) | |
download | sapd-c48db815c7847b88907aae58f2a1af5c20d9dc8f.tar.gz sapd-c48db815c7847b88907aae58f2a1af5c20d9dc8f.zip |
webproxy request packet, but there is something wrong
Diffstat (limited to 'webproxyconn.h')
-rw-r--r-- | webproxyconn.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/webproxyconn.h b/webproxyconn.h index 3a05ad3..533feeb 100644 --- a/webproxyconn.h +++ b/webproxyconn.h @@ -12,7 +12,16 @@ class WebProxyConn : public QObject public: WebProxyConn(SAPConnection *conn, QObject *parent = 0); -private: +protected: + struct RequestMessage { + quint8 command; // Seems to be always 1 + quint8 subCommand; + quint8 type; + quint8 transactionId; // Monotonically increasing + QByteArray payload; + }; + + static RequestMessage unpackRequestMessage(const QByteArray &data); private slots: void handleConnected(); |