BMA Server Framework
/home/barant/Development/BMA/server_core/ServerCore/Service.h
1 #ifndef __Service_h__
2 #define __Service_h__
3 
4 #include "Object.h"
5 #include "CommandList.h"
6 
7 namespace core {
8 
9  class TCPServerSocket;
10 
19 
20  class Service : public Object {
21 
22  public:
23 
29 
31 
32  void removeFromSessionList(Session *session);
33 
34  virtual void sessionErrorHandler(std::string errorString, Session *session);
35 
39 
40  std::vector<Session *> sessions;
41 
46 
48 
53 
55 
56  };
57 
58 }
59 
60 #endif
CommandList commands
Definition: Service.h:54
Definition: Command.cpp:4
Definition: Session.h:22
std::vector< Session * > sessions
Definition: Service.h:40
Service(TCPServerSocket &server)
Definition: Service.cpp:7
Definition: Service.h:20
Definition: Object.h:8
TCPServerSocket & server
Definition: Service.h:47
Definition: CommandList.h:17
Definition: TCPServerSocket.h:22