1 #ifndef __CommandList_h__
2 #define __CommandList_h__
4 #include "TCPSession.h"
26 void add(
Command &command, std::string name =
"");
bool grabInput(TCPSession *session, Command &command)
Definition: CommandList.cpp:28
Definition: TCPSession.h:23
std::vector< Command * > commands
Definition: CommandList.h:69
int processCommand(std::string request, TCPSession *session, std::stringstream &data)
Definition: CommandList.cpp:37
void add(Command &command, std::string name="")
Definition: CommandList.cpp:6
void remove(Command &command)
Definition: CommandList.cpp:11
Definition: CommandList.h:18
bool processRequest(std::string request, TCPSession *session, std::stringstream &data)
Definition: CommandList.cpp:15