BMA Server Framework
/home/barant/Documents/Development/BMASockets/BMAPOP3Server.h
1 #ifndef BMAPOP3Server_h__
2 #define BMAPOP3Server_h__
3 
4 #include "includes"
5 #include "BMATCPServerSocket.h"
6 #include "BMACommand.h"
7 class BMATCPSocket;
8 
10 
11  public:
12  BMAPOP3Server(BMAEPoll &ePoll, std::string url, short int port);
13  ~BMAPOP3Server();
14 
16 
17  void registerCommand(BMACommand &command);
18 
19  int processCommand(BMASession *session) override;
20 
21  std::vector<BMACommand *> commands;
22 
23 };
24 
25 #endif
Definition: BMATCPSocket.h:18
Definition: BMATCPServerSocket.h:20
Definition: BMAEPoll.h:29
Definition: BMAPOP3Server.h:9
Definition: BMACommand.h:8
BMASession * getSocketAccept()
Definition: BMASession.h:18
int processCommand(BMASession *session) override
Output the consoles array to the console.