diff options
author | Kim van der Riet <kpvdr@apache.org> | 2006-12-11 18:02:50 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2006-12-11 18:02:50 +0000 |
commit | 2cae8d35ea34da62756f0134edcecad417f7ea98 (patch) | |
tree | e61cd8c1a4027ae453869bb596bc7bb72ba19a9c /cpp/lib/common/framing/Content.h | |
parent | 5f3d9cf0aa6da8f619ca9fcc7fa8294efcaade8e (diff) | |
download | qpid-python-2cae8d35ea34da62756f0134edcecad417f7ea98.tar.gz |
Added new Content class and other methods in Buffer to support the new transport in AMQP 0-9. This will allow the code produced by the code generator for 0-9 to compile.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485780 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common/framing/Content.h')
-rw-r--r-- | cpp/lib/common/framing/Content.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/cpp/lib/common/framing/Content.h b/cpp/lib/common/framing/Content.h new file mode 100644 index 0000000000..1ab3ba468b --- /dev/null +++ b/cpp/lib/common/framing/Content.h @@ -0,0 +1,47 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + +#ifndef _Content_ +#define _Content_ + +namespace qpid +{ +namespace framing +{ + +/* + * TODO: New Content class required for AMQP 0-9. This is a stub only. + */ +class Content +{ + public: + ~Content(); + + void encode(Buffer& buffer) const; + void decode(Buffer& buffer); + +}; + +} // namespace framing +} // namespace qpid + + +#endif |