summaryrefslogtreecommitdiff
path: root/bin/bbstored/BackupStoreContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bbstored/BackupStoreContext.h')
-rw-r--r--bin/bbstored/BackupStoreContext.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/bin/bbstored/BackupStoreContext.h b/bin/bbstored/BackupStoreContext.h
index 3f0ba55a..da0a7668 100644
--- a/bin/bbstored/BackupStoreContext.h
+++ b/bin/bbstored/BackupStoreContext.h
@@ -26,6 +26,13 @@ class IOStream;
class BackupProtocolObject;
class StreamableMemBlock;
+class HousekeepingInterface
+{
+ public:
+ virtual ~HousekeepingInterface() { }
+ virtual void SendMessageToHousekeepingProcess(const void *Msg, int MsgLen) = 0;
+};
+
// --------------------------------------------------------------------------
//
// Class
@@ -37,7 +44,7 @@ class StreamableMemBlock;
class BackupStoreContext
{
public:
- BackupStoreContext(int32_t ClientID, BackupStoreDaemon &rDaemon);
+ BackupStoreContext(int32_t ClientID, HousekeepingInterface &rDaemon);
~BackupStoreContext();
private:
BackupStoreContext(const BackupStoreContext &rToCopy);
@@ -131,7 +138,7 @@ private:
private:
int32_t mClientID;
- BackupStoreDaemon &mrDaemon;
+ HousekeepingInterface &mrDaemon;
int mProtocolPhase;
bool mClientHasAccount;
std::string mStoreRoot; // has final directory separator