Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET
Apache Qpid Documentation
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
qpid
framing
amqp_types.h
Go to the documentation of this file.
1
#ifndef AMQP_TYPES_H
2
#define AMQP_TYPES_H
3
/*
4
*
5
* Licensed to the Apache Software Foundation (ASF) under one
6
* or more contributor license agreements. See the NOTICE file
7
* distributed with this work for additional information
8
* regarding copyright ownership. The ASF licenses this file
9
* to you under the Apache License, Version 2.0 (the
10
* "License"); you may not use this file except in compliance
11
* with the License. You may obtain a copy of the License at
12
*
13
* http://www.apache.org/licenses/LICENSE-2.0
14
*
15
* Unless required by applicable law or agreed to in writing,
16
* software distributed under the License is distributed on an
17
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
* KIND, either express or implied. See the License for the
19
* specific language governing permissions and limitations
20
* under the License.
21
*
22
*/
23
29
#include "
qpid/sys/IntegerTypes.h
"
30
31
namespace
qpid {
32
namespace
framing {
33
34
typedef
uint8_t
FrameType
;
35
typedef
uint16_t
ChannelId
;
36
typedef
uint32_t
BatchOffset
;
37
typedef
uint8_t
ClassId
;
38
typedef
uint8_t
MethodId
;
39
typedef
uint16_t
ReplyCode
;
40
41
// Types represented by classes.
42
class
Content;
43
class
FieldTable
;
44
class
SequenceNumberSet;
45
struct
Uuid
;
46
47
// Useful constants
48
50
const
ChannelId
CHANNEL_MAX
=(
ChannelId
(~1))>>1;
51
const
ChannelId
CHANNEL_HIGH_BIT
=
ChannelId
(~
CHANNEL_MAX
);
52
53
// Forward declare class types
54
class
FramingContent;
55
class
FieldTable
;
56
class
SequenceNumberSet;
57
class
SequenceSet
;
58
struct
Uuid
;
59
60
// Enum types
61
enum
DeliveryMode
{
TRANSIENT
= 1,
PERSISTENT
= 2};
62
63
}}
// namespace qpid::framing
64
#endif
Qpid C++ API Reference
Generated on Wed Nov 7 2012 for Qpid C++ Client API by
1.8.1.1