Go to the SVN repository for this file.
1 #ifndef NETSTORAGE_PROTOCOL_UTILS__HPP 2 #define NETSTORAGE_PROTOCOL_UTILS__HPP 109 const string& error_message,
110 const string& scope,
116 const string& warning_message,
117 const string& scope,
123 const string& error_message,
124 const string& scope,
126 boolupdate_status =
true);
131 const string& error_message,
132 const string& scope,
139 string* error_scope,
141 unsigned int* error_sub_code);
unsigned TNetStorageFlags
Bitwise OR of ENetStorageFlags.
int64_t Int8
8-byte (64-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const string kMessageTypeReply
CJsonNode CreateIssue(Int8 error_code, const string &error_message, const string &scope, Int8 sub_code)
TNetStorageFlags ExtractStorageFlags(const CJsonNode &message)
const string kScopeIMessage
const string kStatusError
bool GetReplyMessageProperties(const exception &ex, string *error_scope, Int8 *error_code, unsigned int *error_sub_code)
CJsonNode CreateResponseMessage(Int8 serial_number)
CJsonNode CreateErrorResponseMessage(Int8 serial_number, Int8 error_code, const string &error_message, const string &scope, Int8 sub_code)
void AppendError(CJsonNode &message, Int8 code, const string &error_message, const string &scope, Int8 sub_code, bool update_status=true)
const string kScopeStdException
SUserKey ExtractUserKey(const CJsonNode &message)
const string kScopeUnknownException
void AppendWarning(CJsonNode &message, Int8 code, const string &warning_message, const string &scope, Int8 sub_code)
void SetSessionAndIPAndPHID(const CJsonNode &message, const CSocket &peer)
SCommonRequestArguments ExtractCommonFields(const CJsonNode &message)
SICacheSettings ExtractICacheSettings(const CJsonNode &message)
SCommonRequestArguments()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4