/home/barant/Documents/Development/BMASockets/BMAPOP3Server.h
#ifndef BMAPOP3Server_h__
#define BMAPOP3Server_h__
#include "includes"
#include "BMATCPServerSocket.h"
#include "BMACommand.h"
class BMATCPSocket;
class BMAPOP3Server : public BMATCPServerSocket {
public:
BMAPOP3Server(BMAEPoll &ePoll, std::string url, short int port);
~BMAPOP3Server();
BMASession * getSocketAccept();
void registerCommand(BMACommand &command);
int processCommand(BMASession *session) override;
std::vector<BMACommand *> commands;
};
#endif
BMATCPSocket
Definition: BMATCPSocket.h:18
BMATCPServerSocket
Definition: BMATCPServerSocket.h:20
BMAEPoll
Definition: BMAEPoll.h:29
BMAPOP3Server
Definition: BMAPOP3Server.h:9
BMACommand
Definition: BMACommand.h:8
BMAPOP3Server::getSocketAccept
BMASession * getSocketAccept()
BMASession
Definition: BMASession.h:18
BMAPOP3Server::processCommand
int processCommand(BMASession *session) override
Output the consoles array to the console.