63 const std::string INSERT_CMD =
"INSERT";
64 const std::string REMOVE_CMD =
"REMOVE";
65 const std::string GET_CMD =
"GET";
66 const std::string SEARCH_CMD =
"SEARCH";
67 const std::string SPECLIST_CMD =
"SPECLIST";
70 const std::string OK_CODE =
"0";
71 const std::string WRONG_AUTH_CODE =
"1";
72 const std::string INCOMPLETE_SET_CODE =
"2";
73 const std::string NO_SUCH_SPEC_CODE =
"3";
74 const std::string TOO_MUCH_DATA_CODE =
"4";
75 const std::string NO_SUCH_SET_CODE =
"5";
76 const std::string WRONG_TYPE_CODE =
"6";
77 const std::string UNKNOWN_NAME_CODE =
"7";
78 const std::string UNKNOWN_FIELD_CODE =
"8";
79 const std::string GENERIC_ERROR_CODE =
"99";
82 const std::string OK_MSG =
"OK";
83 const std::string WRONG_AUTH_MSG =
"Wrong authentication";
84 const std::string INCOMPLETE_SET_MSG =
"Incomplete set";
85 const std::string NO_SUCH_SPEC_MSG =
"No such specifier";
86 const std::string TOO_MUCH_DATA_MSG =
"Too much data";
87 const std::string NO_SUCH_SET_MSG =
"No such set";
88 const std::string WRONG_TYPE_MSG =
"Wrong type";
89 const std::string UNKNOWN_NAME_MSG =
"Unknown name";
90 const std::string UNKNOWN_FIELD_MSG =
"Unknown field";
91 const std::string GENERIC_ERROR_MSG =
"Generic error";
95 const std::string FILE_ACK =
"ACK";
98 const std::string SD_MARKER =
"SD";
99 const std::string DI_MARKER =
"DI";
100 const std::string DIFILES_MARKER =
"DIFILES";
101 const std::string FOUND_MARKER =
"FOUND";
103 const std::string SN_SPECIAL_KEY =
"SequenceNumber";
Definition: protocol.h:107
const std::string DSS_MARKER
Definition: protocol.h:97
Definition: client_protocol.cpp:725
Command
Definition: protocol.h:33
ResponseCode
Definition: protocol.h:45