Elimination of Service object,

This commit is contained in:
barant committed 2019-09-18 18:32:15 -07:00
1 parent a46db126e9
commit a40f7314a8
440 files changed
+17787 -516

No files matched your search

+3 -15
View File
@@ -1,7 +1,7 @@
#ifndef __CommandList_h__
#define __CommandList_h__
#include "Session.h"
#include "TCPSession.h"
#include "Command.h"
#include "Log.h"
@@ -19,18 +19,6 @@ namespace core {
public:
///
/// The constructor for the object.
///
CommandList();
///
/// The destructor for the object.
///
~CommandList();
///
/// Add a new command to the command list and assign a default search value.
///
@@ -39,9 +27,9 @@ namespace core {
void remove(Command &command);
bool processRequest(std::string request, Session *session, std::stringstream &data);
bool processRequest(std::string request, TCPSession *session, std::stringstream &data);
int processCommand(std::string request, Session *session, std::stringstream &data) override;
int processCommand(std::string request, TCPSession *session, std::stringstream &data);
protected:
std::vector<Command *> commands;