Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
qpid/framing/amqp_types.h
Go to the documentation of this file.
00001 #ifndef AMQP_TYPES_H
00002 #define AMQP_TYPES_H
00003 /*
00004  *
00005  * Licensed to the Apache Software Foundation (ASF) under one
00006  * or more contributor license agreements.  See the NOTICE file
00007  * distributed with this work for additional information
00008  * regarding copyright ownership.  The ASF licenses this file
00009  * to you under the Apache License, Version 2.0 (the
00010  * "License"); you may not use this file except in compliance
00011  * with the License.  You may obtain a copy of the License at
00012  *
00013  *   http://www.apache.org/licenses/LICENSE-2.0
00014  *
00015  * Unless required by applicable law or agreed to in writing,
00016  * software distributed under the License is distributed on an
00017  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00018  * KIND, either express or implied.  See the License for the
00019  * specific language governing permissions and limitations
00020  * under the License.
00021  *
00022  */
00023 
00029 #include "qpid/sys/IntegerTypes.h"
00030 #include <string>
00031 
00032 namespace qpid {
00033 namespace framing {
00034 
00035 using std::string;
00036 typedef uint8_t FrameType;
00037 typedef uint16_t ChannelId;
00038 typedef uint32_t BatchOffset;
00039 typedef uint8_t ClassId;
00040 typedef uint8_t MethodId;
00041 typedef uint16_t ReplyCode;
00042 
00043 // Types represented by classes.
00044 class Content;
00045 class FieldTable;
00046 class SequenceNumberSet;
00047 struct Uuid;
00048 
00049 // Useful constants
00050 
00052 const ChannelId CHANNEL_MAX=(ChannelId(~1))>>1;
00053 const ChannelId CHANNEL_HIGH_BIT= ChannelId(~CHANNEL_MAX);
00054 
00055 // Forward declare class types
00056 class FramingContent;
00057 class FieldTable;
00058 class SequenceNumberSet;
00059 class SequenceSet;
00060 struct Uuid;
00061 
00062 // Enum types
00063 enum DeliveryMode { TRANSIENT = 1, PERSISTENT = 2};
00064 
00065 }} // namespace qpid::framing
00066 #endif

Qpid C++ API Reference
Generated on Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4