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/lib/common/framing/ProtocolInitiation.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/lib/common/framing/ProtocolInitiation.cpp')
| -rw-r--r-- | cpp/lib/common/framing/ProtocolInitiation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/lib/common/framing/ProtocolInitiation.cpp b/cpp/lib/common/framing/ProtocolInitiation.cpp index 471f736a7d..360178df5a 100644 --- a/cpp/lib/common/framing/ProtocolInitiation.cpp +++ b/cpp/lib/common/framing/ProtocolInitiation.cpp @@ -19,6 +19,7 @@ * */ #include <ProtocolInitiation.h> +#include <iostream> qpid::framing::ProtocolInitiation::ProtocolInitiation(){} @@ -55,4 +56,9 @@ bool qpid::framing::ProtocolInitiation::decode(Buffer& buffer){ } } +void qpid::framing::ProtocolInitiation::print(std::ostream& out) const +{ + out << "AMQP(" << getMajor() << "-" << getMinor() << ")"; +} + //TODO: this should prbably be generated from the spec at some point to keep the version numbers up to date |
