#ifndef YC_LIB_BASE_H #define YC_LIB_BASE_H #include namespace Yc { namespace Lib { class Base { protected: std::string getJsonString(Json::Value json); void send(int socket, std::string out); void send(int socket, Json::Value out); std::string readSocket(int socket); Json::Value getJsonTree(std::string msg); }; } // namespace Lib } // namespace Yc #endif // YC_LIB_BASE_H