diff options
| author | Ted Ross <tross@apache.org> | 2011-02-04 08:22:30 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-02-04 08:22:30 +0000 |
| commit | e46939c93ba0682d74f025eeec7bdb88229b4277 (patch) | |
| tree | eb55184ad87bc9c31168bf955256959541fc117b /cpp/src/qmf/ConsoleEventImpl.h | |
| parent | e7f02a8b8b25d9fcce6525ccc5b794f8438995f0 (diff) | |
| download | qpid-python-e46939c93ba0682d74f025eeec7bdb88229b4277.tar.gz | |
Added missing even handling in the console.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qmf/ConsoleEventImpl.h')
| -rw-r--r-- | cpp/src/qmf/ConsoleEventImpl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qmf/ConsoleEventImpl.h b/cpp/src/qmf/ConsoleEventImpl.h index e7acb54152..9843971456 100644 --- a/cpp/src/qmf/ConsoleEventImpl.h +++ b/cpp/src/qmf/ConsoleEventImpl.h @@ -42,6 +42,8 @@ namespace qmf { void addSchemaId(const SchemaId& s) { newSchemaIds.push_back(SchemaId(s)); } void setFinal() { final = true; } void setArguments(const qpid::types::Variant::Map& a) { arguments = a; } + void setSeverity(int s) { severity = s; } + void setTimestamp(uint64_t t) { timestamp = t; } // // Methods from API handle @@ -56,6 +58,8 @@ namespace qmf { Data getData(uint32_t i) const; bool isFinal() const { return final; } const qpid::types::Variant::Map& getArguments() const { return arguments; } + int getSeverity() const { return severity; } + uint64_t getTimestamp() const { return timestamp; } private: const ConsoleEventCode eventType; @@ -66,6 +70,8 @@ namespace qmf { std::list<Data> dataList; std::list<SchemaId> newSchemaIds; qpid::types::Variant::Map arguments; + int severity; + uint64_t timestamp; }; struct ConsoleEventImplAccess |
