struct Config
{
typedef std::map<std::string, std::string> Pairs;
- typedef Pairs::value_type Pair;
+ typedef std::pair<std::string, std::string> Pair;
+ enum Type { UNIX, TCP };
+ Config() {}
Config(const MODULE_SETTINGS& settings);
Pairs match;
bool verbose;
+ std::string address;
std::string bindAddress;
+ Type connectionType;
+ std::string portStr;
uint16_t port;
std::string key;
};