summaryrefslogtreecommitdiff
path: root/client/SslClient.h
diff options
context:
space:
mode:
authorAlex <b0ris@b0ris-satellite.localdomain>2011-11-03 19:01:35 +0200
committerAlex <b0ris@b0ris-satellite.localdomain>2011-11-03 19:01:35 +0200
commit83f10691557953e9d164df36a12f8a0fd7d33dc4 (patch)
treede9b10b11f0528719a28f7d42502785f12ed42ed /client/SslClient.h
parentda3277b21e4a947691df84eb35f675c6f06a4369 (diff)
Handle server reply (SslClient not tested)
Diffstat (limited to 'client/SslClient.h')
-rw-r--r--client/SslClient.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/client/SslClient.h b/client/SslClient.h
index c8126f6..3b8f0bb 100644
--- a/client/SslClient.h
+++ b/client/SslClient.h
@@ -5,6 +5,7 @@
#include <QAbstractSocket>
#include <QObject>
+class QByteArray;
class QSslSocket;
class QSslError;
class QString;
@@ -14,8 +15,8 @@ class QString;
* - Uses SSL protocol to communicate with server
* - Requests config/static or generic proxy lists/firewall list
* - Server port - 13666
- * - Request format: [0x13 0x13 code 0x14 0x14]
- * - Reply format: [0x13 0x13 code [data] 0x14 0x14]
+ * - Request format: [0x13 0x13 rcode 0x14 0x14]
+ * - Reply format: [0x13 0x13 rcode [data] 0x14 0x14]
* - Request codes:
* -# 0x01 - request client config
* -# 0x02 - request generic proxy list
@@ -27,7 +28,7 @@ class SslClient: QObject
Q_OBJECT
public:
/**
- * @enum RequestType Enumerate all possible request types
+ * @enum RequestType Enumerates all possible request types
*/
enum RequestType
{
@@ -78,7 +79,7 @@ signals:
* particular request
* @param type of request this reply corresponds to
*/
- void ReplyRecieved(RequestType type);
+ void ReplyRecieved(RequestType &type, QByteArray &confdata);
private slots:
void Connected();
void Disconnected();