diff options
| author | Alan Conway <aconway@apache.org> | 2007-07-05 16:08:29 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-07-05 16:08:29 +0000 |
| commit | 0865408d7fa16f913391ed9391fb13268a74d8a1 (patch) | |
| tree | 3107946aae1031a960bc68921a33c9708c8bea53 /cpp/src/qpid/framing/Uuid.cpp | |
| parent | 4e60e87b604f8959907a329a36264f98debc9536 (diff) | |
| download | qpid-python-0865408d7fa16f913391ed9391fb13268a74d8a1.tar.gz | |
* src/qpid/cluster/SessionFrame.cpp, .h: Wrap AMQFrame with
session UUID and direction.
* src/qpid/cluster/Cluster.cpp, .h: Use SessionFrame.
* src/qpid/framing/AMQFrame.h, .cpp: Added setBody(), inline getBody()
* src/qpid/framing/Uuid.h, .cpp: Clean up constructors, inline.
* src/qpid/framing/Buffer.h: Put/get byte*, size_T.
* src/qpid/cluster/SessionManager.cpp, .h:
- Maintain the session map.
- Handle frames from cluster, dispatch to proper channels.
- Implement HandlerUpdater for new channels and maintains
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@553543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/Uuid.cpp')
| -rw-r--r-- | cpp/src/qpid/framing/Uuid.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/qpid/framing/Uuid.cpp b/cpp/src/qpid/framing/Uuid.cpp index b1523f0d61..3a83430d56 100644 --- a/cpp/src/qpid/framing/Uuid.cpp +++ b/cpp/src/qpid/framing/Uuid.cpp @@ -21,20 +21,14 @@ #include "qpid/QpidError.h" #include "qpid/framing/Buffer.h" -#include <uuid/uuid.h> - namespace qpid { namespace framing { using namespace std; -Uuid::Uuid() { uuid_generate(c_array()); } - -Uuid::Uuid(uint8_t* uu) { uuid_copy(c_array(),uu); } - static const size_t UNPARSED_SIZE=36; -void Uuid::encode(Buffer& buf) { +void Uuid::encode(Buffer& buf) const { buf.putRawData(data(), size()); } |
