#include "Command.h" #include "Log.h" namespace core { int Command::processCommand(std::string request, TCPSession *session, std::stringstream &data) {} void Command::output(Session *session) {} bool Command::check(std::string request) { if(request.size() > 0) if(request == name) if(name.length() > 0) return true; return false; } void Command::setName(std::string name) { this->name = name; } std::string Command::getName() { return name; } }