diff options
author | Ted Ross <tross@apache.org> | 2010-01-13 11:57:19 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-01-13 11:57:19 +0000 |
commit | 79a29f32ef84c26de35d3e75c3acff314b727f56 (patch) | |
tree | d66d4d2a8a6cc2d9836fd1816b818a1c6e859e35 /cpp/include/qmf/engine/Schema.h | |
parent | ac53f58b4387bc54b186a9ac3a8933ecce77790e (diff) | |
download | qpid-python-79a29f32ef84c26de35d3e75c3acff314b727f56.tar.gz |
Added raise_event support to the Ruby and Python wrapped agent APIs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898727 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qmf/engine/Schema.h')
-rw-r--r-- | cpp/include/qmf/engine/Schema.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/include/qmf/engine/Schema.h b/cpp/include/qmf/engine/Schema.h index 9f5b444558..f53e84324a 100644 --- a/cpp/include/qmf/engine/Schema.h +++ b/cpp/include/qmf/engine/Schema.h @@ -29,6 +29,7 @@ namespace engine { enum Access { ACCESS_READ_CREATE = 1, ACCESS_READ_WRITE = 2, ACCESS_READ_ONLY = 3 }; enum Direction { DIR_IN = 1, DIR_OUT = 2, DIR_IN_OUT = 3 }; enum ClassKind { CLASS_OBJECT = 1, CLASS_EVENT = 2 }; + enum Severity { SEV_EMERG = 0, SEV_ALERT = 1, SEV_CRIT = 2, SEV_ERROR = 3, SEV_WARN = 4, SEV_NOTICE = 5, SEV_INFORM = 6, SEV_DEBUG = 7 }; struct SchemaArgumentImpl; struct SchemaMethodImpl; @@ -186,13 +187,14 @@ namespace engine { */ class SchemaEventClass { public: - SchemaEventClass(const char* package, const char* name); + SchemaEventClass(const char* package, const char* name, Severity severity); SchemaEventClass(const SchemaEventClass& from); ~SchemaEventClass(); void addArgument(const SchemaArgument* argument); void setDesc(const char* desc); const SchemaClassKey* getClassKey() const; + Severity getSeverity() const; int getArgumentCount() const; const SchemaArgument* getArgument(int idx) const; |