childprot/PostfixPolicyProtocol.hpp
Wolfgang Hottgenroth 4582de6afc changes
2013-03-27 20:56:17 +01:00

29 lines
571 B
C++

/*
* 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_ */