heartbeat: add basic code.
This commit is contained in:
@@ -14,10 +14,13 @@ constexpr quint32 CHUNK_BUF_SIZE = 1 * 1024 * 1024;
|
||||
// Contents beyond 30 are only forwarded.
|
||||
enum FrameBufferType : uint16_t {
|
||||
FBT_NONE = 0,
|
||||
FBT_SER_MSG_HEARTBEAT,
|
||||
FBT_SER_MSG_ASKCLIENTS,
|
||||
FBT_SER_MSG_YOURID,
|
||||
FBT_SER_MSG_RESPONSE,
|
||||
FBT_SER_MSG_FORWARD_FAILED,
|
||||
FBT_SER_MSG_JUDGE_OTHER_ALIVE,
|
||||
FBT_SER_MSG_OFFLINE,
|
||||
FBT_CLI_BIN_FILEDATA = 31,
|
||||
FBT_CLI_MSG_COMMUNICATE,
|
||||
FBT_CLI_ASK_DIRFILE,
|
||||
|
||||
Reference in New Issue
Block a user