PICloud change protocol > server_uuid
This commit is contained in:
@@ -38,6 +38,7 @@ class PIP_CLOUD_EXPORT TCP {
|
||||
public:
|
||||
enum Version {
|
||||
Version_1 = 1,
|
||||
Version_2 = 2,
|
||||
};
|
||||
|
||||
enum Role {
|
||||
@@ -66,7 +67,7 @@ public:
|
||||
PIPair<PICloud::TCP::Type, PICloud::TCP::Role> parseHeader(PIByteArray & ba);
|
||||
PIByteArray parseData(PIByteArray & ba);
|
||||
PIPair<uint, PIByteArray> parseDataServer(PIByteArray & ba);
|
||||
PIString parseConnect_d(PIByteArray & ba);
|
||||
PIByteArray parseConnect_d(PIByteArray & ba);
|
||||
uint parseConnect(PIByteArray & ba);
|
||||
uint parseDisconnect(PIByteArray & ba);
|
||||
|
||||
@@ -79,7 +80,7 @@ private:
|
||||
};
|
||||
|
||||
Header header;
|
||||
PIString sname;
|
||||
PIByteArray suuid;
|
||||
PIStreamPacker * streampacker;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user