diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-11-09 17:28:58 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-11-09 17:28:58 +0100 |
commit | 8a937bd354001a190dbe66538aacb353e7c99341 (patch) | |
tree | 9db021722d1743482e76f93d00fb97bed32a3ea7 /bin/bbstored/BackupStoreDaemon.h | |
parent | b591c86a418e8d5a0d1c1afd319d9acdad6fd4e3 (diff) |
Import upstream version 0.11~rc8~r2714
Diffstat (limited to 'bin/bbstored/BackupStoreDaemon.h')
-rw-r--r-- | bin/bbstored/BackupStoreDaemon.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/bbstored/BackupStoreDaemon.h b/bin/bbstored/BackupStoreDaemon.h index a5d216f4..49af5b81 100644 --- a/bin/bbstored/BackupStoreDaemon.h +++ b/bin/bbstored/BackupStoreDaemon.h @@ -14,11 +14,11 @@ #include "BoxPortsAndFiles.h" #include "BackupConstants.h" #include "BackupStoreContext.h" +#include "HousekeepStoreAccount.h" #include "IOStreamGetLine.h" class BackupStoreAccounts; class BackupStoreAccountDatabase; -class HousekeepStoreAccount; // -------------------------------------------------------------------------- // @@ -29,10 +29,8 @@ class HousekeepStoreAccount; // // -------------------------------------------------------------------------- class BackupStoreDaemon : public ServerTLS<BOX_PORT_BBSTORED>, - HousekeepingInterface + HousekeepingInterface, HousekeepingCallback { - friend class HousekeepStoreAccount; - public: BackupStoreDaemon(); ~BackupStoreDaemon(); @@ -64,10 +62,13 @@ protected: // Housekeeping functions void HousekeepingProcess(); - bool CheckForInterProcessMsg(int AccountNum = 0, int MaximumWaitTime = 0); void LogConnectionStats(const char *commonName, const SocketStreamTLS &s); +public: + // HousekeepingInterface implementation + virtual bool CheckForInterProcessMsg(int AccountNum = 0, int MaximumWaitTime = 0); + private: BackupStoreAccountDatabase *mpAccountDatabase; BackupStoreAccounts *mpAccounts; |