summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/ha/RemoteBackup.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/ha/RemoteBackup.h')
-rw-r--r--qpid/cpp/src/qpid/ha/RemoteBackup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/ha/RemoteBackup.h b/qpid/cpp/src/qpid/ha/RemoteBackup.h
index 99e5a24494..8ee776e90b 100644
--- a/qpid/cpp/src/qpid/ha/RemoteBackup.h
+++ b/qpid/cpp/src/qpid/ha/RemoteBackup.h
@@ -83,6 +83,9 @@ class RemoteBackup
/**@return true when all initial queues for this backup are ready. */
bool isReady();
+ /**@return true if isReady() and this is the first call to reportReady */
+ bool reportReady();
+
/**Cancel all queue guards, called if we are timed out. */
void cancel();
@@ -100,6 +103,7 @@ class RemoteBackup
GuardMap guards;
QueueSet initialQueues;
bool connected;
+ bool reportedReady;
};
}} // namespace qpid::ha