virtual const DIR_TRAFF & GetSessionUpload() const = 0;
virtual const DIR_TRAFF & GetSessionDownload() const = 0;
+ virtual time_t GetSessionUploadModificationTime() const = 0;
+ virtual time_t GetSessionDownloadModificationTime() const = 0;
virtual bool GetConnected() const = 0;
virtual time_t GetConnectedModificationTime() const = 0;
sessionUpload = zeroSesssion;
sessionDownload = zeroSesssion;
+sessionUploadModTime = stgTime;
+sessionDownloadModTime = stgTime;
}
//-----------------------------------------------------------------------------
void USER_IMPL::PrintUser() const
up = dt;
sessionUpload[dir] += len;
+sessionUploadModTime = stgTime;
//Add detailed stat
down = dt;
sessionDownload[dir] += len;
+sessionDownloadModTime = stgTime;
//Add detailed stat
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(); }
DIR_TRAFF sessionUpload;
DIR_TRAFF sessionDownload;
+ time_t sessionUploadModTime;
+ time_t sessionDownloadModTime;
CHG_PASSIVE_NOTIFIER passiveNotifier;
CHG_DISABLED_NOTIFIER disabledNotifier;