diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2012-09-24 13:49:13 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2012-09-24 13:49:13 +0000 |
| commit | c095a631dcb2c7be5e167ed50f658f7c24330a45 (patch) | |
| tree | f3c6dc1e3a9f6e12501c1dcb794d18779db477ac /cpp/src/qpid/xml | |
| parent | 0f327ee25b5ab4b9a38a8620a666e6bfc66000e7 (diff) | |
| download | qpid-python-c095a631dcb2c7be5e167ed50f658f7c24330a45.tar.gz | |
QPID-3858: WIP: Provisional checkin: Wiring of async store interface to broker. Code compiles, but as persistent transactions are currentl disconnected, not all tests pass.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1389378 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/xml')
| -rw-r--r-- | cpp/src/qpid/xml/XmlExchange.cpp | 7 | ||||
| -rw-r--r-- | cpp/src/qpid/xml/XmlExchange.h | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/cpp/src/qpid/xml/XmlExchange.cpp b/cpp/src/qpid/xml/XmlExchange.cpp index f88acb04ee..22eeff41c5 100644 --- a/cpp/src/qpid/xml/XmlExchange.cpp +++ b/cpp/src/qpid/xml/XmlExchange.cpp @@ -430,6 +430,11 @@ bool XmlExchange::MatchQueueAndOrigin::operator()(XmlBinding::shared_ptr b) const std::string XmlExchange::typeName("xml"); - + + +// DataSource interface - used to write persistence data to async store +uint64_t XmlExchange::getSize() { return 0; } +void XmlExchange::write(char* /*target*/) {} + } } diff --git a/cpp/src/qpid/xml/XmlExchange.h b/cpp/src/qpid/xml/XmlExchange.h index 7b04781ad5..a80588c7ab 100644 --- a/cpp/src/qpid/xml/XmlExchange.h +++ b/cpp/src/qpid/xml/XmlExchange.h @@ -94,6 +94,10 @@ class XmlExchange : public virtual Exchange { virtual ~XmlExchange(); + // DataSource interface - used to write persistence data to async store + uint64_t getSize(); + void write(char* target); + struct MatchOrigin { const std::string origin; MatchOrigin(const std::string& origin); |
