Elimination of Service object,
This commit is contained in:
1 parent
a46db126e9
commit
a40f7314a8
440 files changed
+17787
-516
No files matched your search
+2
-2
@@ -3,7 +3,7 @@
|
||||
|
||||
namespace core {
|
||||
|
||||
ConsoleSession::ConsoleSession(EPoll &ePoll, Service &service) : TerminalSession(ePoll, service) {
|
||||
ConsoleSession::ConsoleSession(EPoll &ePoll, TCPServer &server) : TerminalSession(ePoll, server) {
|
||||
coreutils::Log(coreutils::LOG_DEBUG_2) << "Constructing ConsoleSession...";
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace core {
|
||||
saveCursor();
|
||||
setCursorLocation(16, 1);
|
||||
out << "--> " << request << std::endl;
|
||||
service.commands.processRequest(request, this, out);
|
||||
server.commands.processRequest(request, this, out);
|
||||
restoreCursor();
|
||||
send();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user