Elimination of Service object,
This commit is contained in:
1 parent
a46db126e9
commit
a40f7314a8
440 files changed
+17787
-516
No files matched your search
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
#include "EPoll.h"
|
||||
#include "Session.h"
|
||||
#include "Command.h"
|
||||
#include "Exception.h"
|
||||
|
||||
@@ -111,7 +110,7 @@ namespace core {
|
||||
return epfd;
|
||||
}
|
||||
|
||||
int EPoll::processCommand(std::string command, Session *session, std::stringstream &data) {
|
||||
int EPoll::processCommand(std::string command, TCPSession *session, std::stringstream &data) {
|
||||
int sequence = 0;
|
||||
for(auto threadx : threads) {
|
||||
data << "|" << ++sequence;
|
||||
|
||||
Reference in new issue
Block a user