17 #ifndef KAACLIENTPROPERTIES_HPP_ 
   18 #define KAACLIENTPROPERTIES_HPP_ 
   21 #include <unordered_map> 
  196     void setProperty(
const std::string& name, 
const std::string& value);
 
  205     std::string 
getProperty(
const std::string& name, 
const std::string& defaultValue = std::string()) 
const;
 
  227     void initByDefaults();
 
  230     std::unordered_map<std::string, std::string> properties_;
 
static const std::string PROP_PRIV_KEY_FILE
 
void setLogFileName(const std::string &logFileName)
Set file name logs will be written to. 
 
std::string getLogsDatabaseFileName() const 
Returns the path to the database's name where the logs are stored. 
 
void setConfigurationFileName(const std::string &fileName)
Sets configuration file name. 
 
static const std::string PROP_LOGS_DB
 
static const std::string DEFAULT_WORKING_DIR
 
std::string getWorkingDirectoryPath() const 
Returns a path to the client's working directory. 
 
static const std::string PROP_CONF_FILE
 
void setStateFileName(const std::string &fileName)
Sets state file name. 
 
std::string getStateFileName() const 
Returns the path to the state file name. 
 
static const std::string DEFAULT_PRIV_KEY_FILE
 
void setPublicKeyFileName(const std::string &fileName)
Sets public key file name. 
 
void setProperty(const std::string &name, const std::string &value)
Sets property. 
 
std::string getLogFileName() const 
Returns current path to the file which contains logs. 
 
void setWorkingDirectoryPath(const std::string &path)
Sets working directory path. 
 
static const std::string PROP_WORKING_DIR
 
std::string getPublicKeyFileName() const 
Returns the path to the client's public key file. 
 
static const std::string PROP_LOG_FILE_NAME
 
static const std::string DEFAULT_LOGS_DB
 
std::string getPrivateKeyFileName() const 
Returns the path to the client's private key file. 
 
static const std::string DEFAULT_CLIENT_ID
 
static const std::string PROP_CLIENT_ID
 
static const std::string PROP_STATE_FILE
 
static const std::string DEFAULT_STATE_FILE
 
std::string getProperty(const std::string &name, const std::string &defaultValue=std::string()) const 
Returns propety value. 
 
static const std::string PROP_PUB_KEY_FILE
 
void setClientId(const std::string &clientId)
Set client ID. 
 
void setLogsDatabaseFileName(const std::string &fileName)
Sets database file name. 
 
static const std::string DEFAULT_CONF_FILE
 
void setPrivateKeyFileName(const std::string &fileName)
Sets private key file name. 
 
std::string getConfigurationFileName() const 
Returns the path to the configuration file. 
 
static const std::string DEFAULT_LOG_FILE_NAME
 
std::string getClientId() const 
Returns client id. 
 
static const std::string DEFAULT_PUB_KEY_FILE