diff options
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; |