diff options
author | Ted Ross <tross@apache.org> | 2010-03-02 03:25:56 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-03-02 03:25:56 +0000 |
commit | 26883f5dcdd17e31fad56d89bda169eb1e5a281f (patch) | |
tree | 9a6706120771ed48990db8b416d35f949d060a34 /qpid/cpp/include | |
parent | 4133cb8e05f8ea6bac29e1e5cf81afaa3d3a591a (diff) | |
download | qpid-python-qmf-devel0.7.tar.gz |
Update branch with new Agent engine implementation:qmf-devel0.7
- Data hooks to allow batched and partial updates from internal storage.
- Capability for immediate updates for deletion and changing of discrete values.
- Implementation of query and event-raise.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qmf-devel0.7@917854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r-- | qpid/cpp/include/qmf/Protocol.h | 3 | ||||
-rw-r--r-- | qpid/cpp/include/qmf/engine/Data.h | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/qpid/cpp/include/qmf/Protocol.h b/qpid/cpp/include/qmf/Protocol.h index e2ec287c00..64ba4b69ff 100644 --- a/qpid/cpp/include/qmf/Protocol.h +++ b/qpid/cpp/include/qmf/Protocol.h @@ -67,6 +67,8 @@ namespace qmf { * Application Header Keys */ const static std::string APP_OPCODE; + const static std::string APP_PARTIAL; + const static std::string APP_CONTENT; /** * QMF Op Codes @@ -88,6 +90,7 @@ namespace qmf { /** * Content type definitions */ + const static std::string CONTENT_NONE; const static std::string CONTENT_PACKAGE; const static std::string CONTENT_SCHEMA_ID; const static std::string CONTENT_SCHEMA_CLASS; diff --git a/qpid/cpp/include/qmf/engine/Data.h b/qpid/cpp/include/qmf/engine/Data.h index 30f2093df7..33a0289ea5 100644 --- a/qpid/cpp/include/qmf/engine/Data.h +++ b/qpid/cpp/include/qmf/engine/Data.h @@ -20,12 +20,12 @@ * under the License. */ -#include <qmf/engine/Schema.h> #include <qpid/messaging/Variant.h> namespace qmf { namespace engine { + class SchemaClass; struct DataImpl; class Data { public: @@ -41,16 +41,14 @@ namespace engine { qpid::messaging::Variant::Map& getSubtypes(); const SchemaClass* getSchema() const; - void setSchema(SchemaClass* schema); const char* getKey() const; void setKey(const char* key); - void touch(); + void modifyStart(); + void modifyDone(); void destroy(); - qpid::messaging::Variant::Map asMap() const; - private: friend struct DataImpl; friend class AgentImpl; |