based on reworked servercore.
This commit is contained in:
1 parent
50eb707f10
commit
db3e82a18e
1698 files changed
+41157
-797
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user