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::framing::MethodId
uint8_t MethodId
Definition:
amqp_types.h:38
qpid::framing::ChannelId
uint16_t ChannelId
Definition:
amqp_types.h:35
qpid::framing::CHANNEL_HIGH_BIT
const ChannelId CHANNEL_HIGH_BIT
Definition:
amqp_types.h:51
qpid::framing::CHANNEL_MAX
const ChannelId CHANNEL_MAX
Maximum channel ID used by broker.
Definition:
amqp_types.h:50
uint8_t
unsigned char uint8_t
Definition:
IntegerTypes.h:24
qpid::framing::Uuid
A UUID is represented as a boost::array of 16 bytes.
Definition:
Uuid.h:44
uint32_t
unsigned int uint32_t
Definition:
IntegerTypes.h:27
qpid::framing::ReplyCode
uint16_t ReplyCode
Definition:
amqp_types.h:39
qpid::framing::FieldTable
A set of name-value pairs.
Definition:
FieldTable.h:53
qpid::framing::DeliveryMode
DeliveryMode
Definition:
amqp_types.h:61
qpid::framing::SequenceSet
Definition:
SequenceSet.h:32
qpid::framing::ClassId
uint8_t ClassId
Definition:
amqp_types.h:37
qpid::framing::TRANSIENT
Definition:
amqp_types.h:61
qpid::framing::PERSISTENT
Definition:
amqp_types.h:61
uint16_t
unsigned short uint16_t
Definition:
IntegerTypes.h:25
IntegerTypes.h
qpid::framing::FrameType
uint8_t FrameType
Definition:
amqp_types.h:34
qpid::framing::BatchOffset
uint32_t BatchOffset
Definition:
amqp_types.h:36
Qpid C++ API Reference
Generated on Wed Feb 5 2014 for Qpid C++ Client API by
1.8.5