1 #ifndef __CommandList_h__
2 #define __CommandList_h__
4 #include "TCPSession.h"
22 CommandList(std::string delimiter =
"",
int depth = 0);
28 void add(
Command &command, std::string name =
"");
72 std::string delimiter;
Definition: CommandList.h:18
int processCommand(coreutils::ZString &request, TCPSession &session)
Definition: CommandList.cpp:43
bool grabInput(TCPSession &session, Command &command)
Definition: CommandList.cpp:34
void add(Command &command, std::string name="")
Definition: CommandList.cpp:8
void remove(Command &command)
Definition: CommandList.cpp:12
int processRequest(coreutils::ZString &request, TCPSession &session)
Definition: CommandList.cpp:14
std::map< std::string, Command * > commands
Definition: CommandList.h:71
Definition: TCPSession.h:24