void ResetPassiveTime() { passiveTime = 0; }
void SetPassiveTimeAsNewUser();
- /*void ResetDetailStat();
- int SwapDetailStat();*/
int WriteDetailStat(bool hard = false);
const TARIFF * GetTariff() const { return tariff; }
int SaveMonthStat(int month, int year);
int SendMessage(const STG_MSG & msg);
- int RemoveMessage(uint64_t) { return 0; }
int ScanMessage();
time_t lastScanMessages;
const TARIFFS * tariffs;
const TARIFF * tariff;
- /*map<IP_DIR_PAIR, STAT_NODE> traffStatInternal[2];
- map<IP_DIR_PAIR, STAT_NODE> * traffStat;
- map<IP_DIR_PAIR, STAT_NODE> * traffStatToWrite;
- int traffStatInUse;*/
-
TRAFF_STAT traffStat;
std::list<std::pair<time_t, TRAFF_STAT> > traffStatQueue;