Many changes to ServerCore
This commit is contained in:
1 parent
6969ef0fbb
commit
d445834af6
83 files changed
+666
-756
No files matched your search
+3
-3
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user