const DIR_TRAFF & GetSessionUpload() const { return sessionUpload; }
const DIR_TRAFF & GetSessionDownload() const { return sessionDownload; }
+ time_t GetSessionUploadModificationTime() const { return sessionUploadModTime; }
+ time_t GetSessionDownloadModificationTime() const { return sessionDownloadModTime; }
bool GetConnected() const { return connected; }
time_t GetConnectedModificationTime() const { return connected.ModificationTime(); }
void ProcessDailyFee();
bool IsInetable();
- std::string GetEnabledDirs();
+ std::string GetEnabledDirs() const;
void OnAdd();
void OnDelete();
int id;
bool __connected;
USER_PROPERTY<bool> connected;
- std::string lastDisconnectReason;
bool enabledDirs[DIR_NUM];
DIR_TRAFF sessionUpload;
DIR_TRAFF sessionDownload;
+ time_t sessionUploadModTime;
+ time_t sessionDownloadModTime;
CHG_PASSIVE_NOTIFIER passiveNotifier;
CHG_DISABLED_NOTIFIER disabledNotifier;