diff options
Diffstat (limited to 'cpp/src/qpid/client/FutureCompletion.h')
-rw-r--r-- | cpp/src/qpid/client/FutureCompletion.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cpp/src/qpid/client/FutureCompletion.h b/cpp/src/qpid/client/FutureCompletion.h index 3487a0910a..1897230230 100644 --- a/cpp/src/qpid/client/FutureCompletion.h +++ b/cpp/src/qpid/client/FutureCompletion.h @@ -31,19 +31,15 @@ namespace client { class FutureCompletion { protected: - sys::Monitor lock; + mutable sys::Monitor lock; bool complete; - bool closed; - uint16_t code; - std::string text; public: FutureCompletion(); virtual ~FutureCompletion(){} - bool isComplete(); - void waitForCompletion(); + bool isComplete() const; + void waitForCompletion() const; void completed(); - void close(uint16_t code, const std::string& text); }; }} |