hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include <ServiceMessages.hpp>
Public Types | |
enum | ErrorCodes { NO_ERROR = 0, ERROR_SERIALIZE = 1, ERROR_UNSERIALIZE = 2, ERROR_TITLE = 3 } |
Public Types inherited from HCE::IJsonSerializable | |
enum | { NO_ERROR = 0 } |
Public Member Functions | |
RouteMessage (std::vector< ClientWorkerItem > &queue_) | |
~RouteMessage (void) | |
bool | serialize (std::string &json) |
bool | unserialize (const std::string &json) |
std::string | build (const std::string &title="") |
void | extract (const std::string &title, const std::string &msgBody) |
void | clear (void) |
std::vector< std::string > | extractRouteNames (void) |
Public Member Functions inherited from HCE::IJsonSerializable | |
IJsonSerializable (void) | |
virtual | ~IJsonSerializable (void) |
void | setErrorMsg (const std::string &errorMsg_) |
std::string | getErrorMsg (void) const |
void | setErrorCode (unsigned int errorCode_) |
unsigned int | getErrorCode (void) const |
void | setIsError (bool isError_) |
bool | isError (void) const |
void | resetError (void) |
Static Public Member Functions | |
static std::vector< std::string > | extractIdentityNames (const std::string &routeMessage) |
static std::string | buildIdentityNames (const std::vector< ClientWorkerItem > &clientQueue) |
static std::string | buildIdentityNames (const std::vector< std::string > &names) |
static std::vector< std::string > | extractRouteNames (const std::vector< ClientWorkerItem > &clientQueue) |
Additional Inherited Members | |
Protected Member Functions inherited from HCE::IJsonSerializable | |
template<class T = unsigned long long> | |
T | convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue) |
Protected Attributes inherited from HCE::IJsonSerializable | |
std::string | errorMsg |
unsigned int | errorCode |
bool | _isError |
Definition at line 29 of file ServiceMessages.hpp.
Definition at line 32 of file ServiceMessages.hpp.
HCE::handlers::RouteMessage::RouteMessage | ( | std::vector< ClientWorkerItem > & | queue_ | ) |
Definition at line 17 of file ServiceMessages.cpp.
|
inline |
Definition at line 41 of file ServiceMessages.hpp.
std::string HCE::handlers::RouteMessage::build | ( | const std::string & | title = "" | ) |
Definition at line 121 of file ServiceMessages.cpp.
|
static |
Definition at line 184 of file ServiceMessages.cpp.
|
static |
Definition at line 194 of file ServiceMessages.cpp.
void HCE::handlers::RouteMessage::clear | ( | void | ) |
Definition at line 156 of file ServiceMessages.cpp.
void HCE::handlers::RouteMessage::extract | ( | const std::string & | title, |
const std::string & | msgBody | ||
) |
Definition at line 134 of file ServiceMessages.cpp.
|
static |
Definition at line 161 of file ServiceMessages.cpp.
|
static |
std::vector< std::string > HCE::handlers::RouteMessage::extractRouteNames | ( | void | ) |
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 35 of file ServiceMessages.cpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 84 of file ServiceMessages.cpp.