based on reworked servercore.

This commit is contained in:
barant committed 2020-02-29 19:25:13 -08:00
1 parent 50eb707f10
commit db3e82a18e
1698 files changed
+41157 -797

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#ifndef __MailDelivery_h__
# define __MailDelivery_h__
# include "INotify.h"
# include "EPoll.h"
namespace mail {
class MailDelivery : core::INotify {
public:
MailDelivery(core::EPoll &ePoll, std::string mailQueue);
void onDataReceived(std::string data) override;
int startDelivery(std::string mailQueue);
int deliver();
std::string getMailFileName();
};
}
#endif