diff options
author | Gordon Sim <gsim@apache.org> | 2008-02-15 08:26:00 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-02-15 08:26:00 +0000 |
commit | 4351730550bc48c4237de4e616f8e420e084c081 (patch) | |
tree | f4d0101055d375a91e3838e0ee31651ff6e72122 /cpp/tests/ChannelTest.cpp | |
parent | 4a5dd2bc8257c7a370088a179acc760b143c62a8 (diff) | |
download | qpid-python-4351730550bc48c4237de4e616f8e420e084c081.tar.gz |
* updated c++ build to work with recent gentools changes
* add null exchange.bound impl to SessionHandlerImpl (to reflect change to spec file)
* pass AMQDataBlocks rather than AMQFrames to OutputHandler
* allow client to pass messages frames to io layer in one go (via FrameList) if it will fit in a single buffer
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@627971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/ChannelTest.cpp')
-rw-r--r-- | cpp/tests/ChannelTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/ChannelTest.cpp b/cpp/tests/ChannelTest.cpp index cc0a90bad9..637e971077 100644 --- a/cpp/tests/ChannelTest.cpp +++ b/cpp/tests/ChannelTest.cpp @@ -39,8 +39,8 @@ using std::queue; struct DummyHandler : OutputHandler{ std::vector<AMQFrame*> frames; - virtual void send(AMQFrame* frame){ - frames.push_back(frame); + virtual void send(AMQDataBlock* block){ + frames.push_back(dynamic_cast<AMQFrame*>(block)); } }; |