Server/¸¶ÁÖÌÎ/code/tianKai/struct_data.h
@@ -1,13 +1,15 @@ #ifndef STRUCT_DATA_H #define STRUCT_DATA_H #include <mutex> #include <condition_variable> enum TypeInfo{ UPLOAD_REQ = 100, HEAD_UPLOAD_REQ, DATA_UPLOAD_REQ, UP_LOAD_FIN, UPLOAD_SQL_REQ, RELEASE_SQL_REQ, RELEASE_SQL_RES, HEART_CHECK_REQ, HEART_CHECK_RES }; @@ -54,7 +56,13 @@ Head head; }; struct ReleaseReq { Head head; ReleaseReq(){ head.len = sizeof(ReleaseReq); head.type = RELEASE_SQL_REQ; } }; struct HeartCheckReq // å¿è·³è¯·æ±å { Head head; @@ -74,4 +82,5 @@ head.len = sizeof(HeartCheckRes); } }; #endif // STRUCT_DATA_H