unsigned GetExecutersNum() const { return executersNum; }
const std::string & GetDirName(int num) const { return dirName[num]; };
const std::string & GetConfDir() const { return confDir; }
- const std::string & GetScriptDir() const { return scriptDir; }
+ const std::string & GetScriptsDir() const { return scriptsDir; }
const std::string & GetRulesFileName() const { return rules; }
const std::string & GetLogFileName() const { return logFile; }
const std::string & GetPIDFileName() const { return pidFile; }
unsigned GetMessageTimeout() const { return messageTimeout * 3600 * 24; }
const std::string & GetModulesPath() const { return modulesPath; }
- const MODULE_SETTINGS & GetStoreModuleSettings() const
+ const MODULE_SETTINGS & GetStoreModuleSettings() const
{ return storeModuleSettings; }
const std::vector<MODULE_SETTINGS> & GetModulesSettings() const
{ return modulesSettings; }
static void ErrorCallback(void * data, const char * buf);
std::string strError;
+
//////////settings
std::string modulesPath;
std::string dirName[DIR_NUM];
std::string confDir;
- std::string scriptDir;
+ std::string scriptsDir;
std::string rules;
std::string logFile;
std::string pidFile;
int stgExecMsgKey;
unsigned executersNum;
bool fullFee;
- unsigned dayFee; // ÄÅÎØ ÓÎÑÔÉÑ ÁÂÏÎÐÌÁÔÙ
- unsigned dayResetTraff; // îÁÞÁÌÏ ÕÞÅÔÎÏÇÏ ÐÅÒÉÏÄÁ: ÄÅÎØ ÏÂÎÕÌÅÎÉÑ ÔÒÁÆÉËÁ É ÓÍÅÎÙ ÔÁÒÉÆÁ
+ unsigned dayFee;
+ unsigned dayResetTraff;
bool spreadFee;
bool freeMbAllowInet;
- bool dayFeeIsLastDay; // áð ÓÎÉÍÁÅÔÓÑ × ËÏÎÃÅ ÍÅÓÑÃÁ (true) ÉÌÉ × ÎÁÞÁÌÅ (false)
- bool writeFreeMbTraffCost; // ðÉÓÁÔØ × ÄÅÔÁÌØÎÕÀ ÓÔÁÔÉÓÔÉËÕ ÓÔÏÉÍÏÓÔØ ÔÒÁÆÉËÁ, ÅÓÌÉ ÅÝÅ ÅÓÔØ ÐÒÅÄÏÐÌÁÞÅÎÎÙÊ ÔÒÁÆÉË
- bool showFeeInCash; // ðÏËÁÚÙ×ÁÔØ ÐÏÌØÚÏ×ÁÔÅÌÀ áð ÎÅ ÓÞÅÔÕ É ÐÏÚ×ÏÌÑÔØ ÅÅ ÉÓÐÏÌØÚÏ×ÁÔØ
- unsigned messageTimeout; // ÷ÒÅÍÑ ÖÉÚÎÉ ÎÅÏÔÐÒÁ×ÌÅÎÎÏÇÏ ÓÏÏÂÝÅÎÉÑ × ÓÅËÕÎÄÁÈ
+ bool dayFeeIsLastDay;
+ bool writeFreeMbTraffCost;
+ bool showFeeInCash;
+ unsigned messageTimeout;
std::vector<MODULE_SETTINGS> modulesSettings;
MODULE_SETTINGS storeModuleSettings;
STG_LOGGER & logger;
};
//-----------------------------------------------------------------------------
+
#endif