Many changes to ServerCore

This commit is contained in:
barant committed 2021-07-23 08:57:27 -07:00
1 parent 6969ef0fbb
commit d445834af6
83 files changed
+666 -756

No files matched your search

+3 -3
View File
@@ -24,13 +24,13 @@ namespace core {
void writeLog(std::string data);
protected:
void protocol(std::string data) override;
void protocol(coreutils::ZString data) override;
private:
enum Status {WELCOME, LOGIN, WAIT_USER_PROFILE, PASSWORD, WAIT_PASSWORD, PROMPT, INPUT, PROCESS, DONE};
Status status = WELCOME;
void doCommand(std::string request);
std::string command;
void doCommand(coreutils::ZString request);
coreutils::ZString command;
};