summaryrefslogtreecommitdiff
path: root/webproxyconn.h
diff options
context:
space:
mode:
Diffstat (limited to 'webproxyconn.h')
-rw-r--r--webproxyconn.h11
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();