Elimination of Service object,
This commit is contained in:
1 parent
a46db126e9
commit
a40f7314a8
440 files changed
+17787
-516
No files matched your search
+6
-6
@@ -2,21 +2,20 @@
|
||||
#define __ConsoleServer_h__
|
||||
|
||||
#include "includes"
|
||||
#include "TCPServerSocket.h"
|
||||
#include "Service.h"
|
||||
#include "TCPServer.h"
|
||||
#include "Command.h"
|
||||
#include "Session.h"
|
||||
#include "EPoll.h"
|
||||
|
||||
namespace core {
|
||||
|
||||
class TCPSocket;
|
||||
class TCPSession;
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
class ConsoleServer : public TCPServerSocket, coreutils::LogListener {
|
||||
class ConsoleServer : public TCPServer, coreutils::LogListener {
|
||||
|
||||
public:
|
||||
|
||||
@@ -24,7 +23,7 @@ namespace core {
|
||||
//
|
||||
//
|
||||
|
||||
ConsoleServer(EPoll &ePoll, Service &service, IPAddress address);
|
||||
ConsoleServer(EPoll &ePoll, IPAddress address);
|
||||
|
||||
//
|
||||
//
|
||||
@@ -32,9 +31,10 @@ namespace core {
|
||||
|
||||
void logSend(std::string out) override;
|
||||
|
||||
TCPSession * getSocketAccept(EPoll &ePoll) override;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user