This commit is contained in:
Wolfgang Hottgenroth
2013-03-27 20:56:17 +01:00
parent bc4eace60d
commit 4582de6afc
7 changed files with 102 additions and 42 deletions

28
PostfixPolicyProtocol.hpp Normal file
View File

@ -0,0 +1,28 @@
/*
* PostfixPolicyProtocol.hpp
*
* Created on: 27.03.2013
* Author: wn
*/
#ifndef POSTFIX_POLICY_PROTOCOL_HPP_
#define POSTFIX_POLICY_PROTOCOL_HPP_
#include <string>
class InvalidAddressTuple {};
class PostfixPolicyProtocol {
public :
PostfixPolicyProtocol();
void processInput();
void sendResult(std::string const& result);
const std::string& getSender() const { return sender; }
const std::string& getRecipient() const { return recipient; }
private:
std::string sender;
std::string recipient;
};
#endif /* POSTFIX_POLICY_PROTOCOL_HPP_ */