From 4c9e6b30e9410cb32367be87ca9bbf941df750dc Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 21 Sep 2009 16:24:38 +0000 Subject: Added Ruby test infrastructure and Console tests in Ruby Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817312 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qmf/ObjectImpl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qmf/ObjectImpl.h') diff --git a/cpp/src/qmf/ObjectImpl.h b/cpp/src/qmf/ObjectImpl.h index 565e9a2704..0776aab8fa 100644 --- a/cpp/src/qmf/ObjectImpl.h +++ b/cpp/src/qmf/ObjectImpl.h @@ -59,6 +59,8 @@ namespace qmf { const SchemaObjectClass* getClass() const { return objectClass; } Value* getValue(const std::string& key) const; void invokeMethod(const std::string& methodName, const Value* inArgs, void* context) const; + bool isDeleted() const { return destroyTime != 0; } + void merge(const Object& from); void parsePresenceMasks(qpid::framing::Buffer& buffer, std::set& excludeList); void encodeSchemaKey(qpid::framing::Buffer& buffer) const; -- cgit v1.2.1