diff options
| author | Ted Ross <tross@apache.org> | 2011-01-13 19:10:07 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-13 19:10:07 +0000 |
| commit | 51b79cafaa57b231f3fd87e29fe190a442bd8a81 (patch) | |
| tree | d87de59e5b1bb18ac40ed5062cf486e8cb35ce7c /qpid/cpp/src/qmf/engine/BrokerProxyImpl.h | |
| parent | 077ff9e2061a7175ae346de36cb801afefd1762a (diff) | |
| download | qpid-python-51b79cafaa57b231f3fd87e29fe190a442bd8a81.tar.gz | |
In qmfengine, if a method call or method response requires a buffer larger than the
static buffer used for communication, allocate a large-enough buffer temporarily from the
heap.
A test is included to verify large-buffer behavior.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/engine/BrokerProxyImpl.h')
| -rw-r--r-- | qpid/cpp/src/qmf/engine/BrokerProxyImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qmf/engine/BrokerProxyImpl.h b/qpid/cpp/src/qmf/engine/BrokerProxyImpl.h index 494da5e239..0542b67dbb 100644 --- a/qpid/cpp/src/qmf/engine/BrokerProxyImpl.h +++ b/qpid/cpp/src/qmf/engine/BrokerProxyImpl.h @@ -142,6 +142,7 @@ namespace engine { void sendQuery(const Query& query, void* context, const AgentProxy* agent); bool sendGetRequestLH(SequenceContext::Ptr queryContext, const Query& query, const AgentProxy* agent); std::string encodeMethodArguments(const SchemaMethod* schema, const Value* args, qpid::framing::Buffer& buffer); + std::string encodedSizeMethodArguments(const SchemaMethod* schema, const Value* args, uint32_t& size); void sendMethodRequest(ObjectId* oid, const SchemaObjectClass* cls, const std::string& method, const Value* args, void* context); void addBinding(const std::string& exchange, const std::string& key); |
