Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
qpid/framing/constants.h
Go to the documentation of this file.
00001 #ifndef QPID_FRAMING_CONSTANTS_H
00002 #define QPID_FRAMING_CONSTANTS_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 
00028 
00029 
00030 
00031 namespace qpid {
00032 namespace framing {
00033 
00034 enum AmqpConstant {
00035     MIN_MAX_FRAME_SIZE=4096,
00036     CONNECTION_CLASS_ID=0x1,
00037     CONNECTION_START_METHOD_ID=0x1,
00038     CONNECTION_START_OK_METHOD_ID=0x2,
00039     CONNECTION_SECURE_METHOD_ID=0x3,
00040     CONNECTION_SECURE_OK_METHOD_ID=0x4,
00041     CONNECTION_TUNE_METHOD_ID=0x5,
00042     CONNECTION_TUNE_OK_METHOD_ID=0x6,
00043     CONNECTION_OPEN_METHOD_ID=0x7,
00044     CONNECTION_OPEN_OK_METHOD_ID=0x8,
00045     CONNECTION_REDIRECT_METHOD_ID=0x9,
00046     CONNECTION_HEARTBEAT_METHOD_ID=0xa,
00047     CONNECTION_CLOSE_METHOD_ID=0xb,
00048     CONNECTION_CLOSE_OK_METHOD_ID=0xc,
00049     SESSION_CLASS_ID=0x2,
00050     SESSION_ATTACH_METHOD_ID=0x1,
00051     SESSION_ATTACHED_METHOD_ID=0x2,
00052     SESSION_DETACH_METHOD_ID=0x3,
00053     SESSION_DETACHED_METHOD_ID=0x4,
00054     SESSION_REQUEST_TIMEOUT_METHOD_ID=0x5,
00055     SESSION_TIMEOUT_METHOD_ID=0x6,
00056     SESSION_COMMAND_POINT_METHOD_ID=0x7,
00057     SESSION_EXPECTED_METHOD_ID=0x8,
00058     SESSION_CONFIRMED_METHOD_ID=0x9,
00059     SESSION_COMPLETED_METHOD_ID=0xa,
00060     SESSION_KNOWN_COMPLETED_METHOD_ID=0xb,
00061     SESSION_FLUSH_METHOD_ID=0xc,
00062     SESSION_GAP_METHOD_ID=0xd,
00063     EXECUTION_CLASS_ID=0x3,
00064     EXECUTION_SYNC_METHOD_ID=0x1,
00065     EXECUTION_RESULT_METHOD_ID=0x2,
00066     EXECUTION_EXCEPTION_METHOD_ID=0x3,
00067     MESSAGE_CLASS_ID=0x4,
00068     MESSAGE_TRANSFER_METHOD_ID=0x1,
00069     MESSAGE_ACCEPT_METHOD_ID=0x2,
00070     MESSAGE_REJECT_METHOD_ID=0x3,
00071     MESSAGE_RELEASE_METHOD_ID=0x4,
00072     MESSAGE_ACQUIRE_METHOD_ID=0x5,
00073     MESSAGE_RESUME_METHOD_ID=0x6,
00074     MESSAGE_SUBSCRIBE_METHOD_ID=0x7,
00075     MESSAGE_CANCEL_METHOD_ID=0x8,
00076     MESSAGE_SET_FLOW_MODE_METHOD_ID=0x9,
00077     MESSAGE_FLOW_METHOD_ID=0xa,
00078     MESSAGE_FLUSH_METHOD_ID=0xb,
00079     MESSAGE_STOP_METHOD_ID=0xc,
00080     TX_CLASS_ID=0x5,
00081     TX_SELECT_METHOD_ID=0x1,
00082     TX_COMMIT_METHOD_ID=0x2,
00083     TX_ROLLBACK_METHOD_ID=0x3,
00084     DTX_CLASS_ID=0x6,
00085     DTX_SELECT_METHOD_ID=0x1,
00086     DTX_START_METHOD_ID=0x2,
00087     DTX_END_METHOD_ID=0x3,
00088     DTX_COMMIT_METHOD_ID=0x4,
00089     DTX_FORGET_METHOD_ID=0x5,
00090     DTX_GET_TIMEOUT_METHOD_ID=0x6,
00091     DTX_PREPARE_METHOD_ID=0x7,
00092     DTX_RECOVER_METHOD_ID=0x8,
00093     DTX_ROLLBACK_METHOD_ID=0x9,
00094     DTX_SET_TIMEOUT_METHOD_ID=0xa,
00095     EXCHANGE_CLASS_ID=0x7,
00096     EXCHANGE_DECLARE_METHOD_ID=0x1,
00097     EXCHANGE_DELETE_METHOD_ID=0x2,
00098     EXCHANGE_QUERY_METHOD_ID=0x3,
00099     EXCHANGE_BIND_METHOD_ID=0x4,
00100     EXCHANGE_UNBIND_METHOD_ID=0x5,
00101     EXCHANGE_BOUND_METHOD_ID=0x6,
00102     QUEUE_CLASS_ID=0x8,
00103     QUEUE_DECLARE_METHOD_ID=0x1,
00104     QUEUE_DELETE_METHOD_ID=0x2,
00105     QUEUE_PURGE_METHOD_ID=0x3,
00106     QUEUE_QUERY_METHOD_ID=0x4,
00107     FILE_CLASS_ID=0x9,
00108     FILE_QOS_METHOD_ID=0x1,
00109     FILE_QOS_OK_METHOD_ID=0x2,
00110     FILE_CONSUME_METHOD_ID=0x3,
00111     FILE_CONSUME_OK_METHOD_ID=0x4,
00112     FILE_CANCEL_METHOD_ID=0x5,
00113     FILE_OPEN_METHOD_ID=0x6,
00114     FILE_OPEN_OK_METHOD_ID=0x7,
00115     FILE_STAGE_METHOD_ID=0x8,
00116     FILE_PUBLISH_METHOD_ID=0x9,
00117     FILE_RETURN_METHOD_ID=0xa,
00118     FILE_DELIVER_METHOD_ID=0xb,
00119     FILE_ACK_METHOD_ID=0xc,
00120     FILE_REJECT_METHOD_ID=0xd,
00121     STREAM_CLASS_ID=0xa,
00122     STREAM_QOS_METHOD_ID=0x1,
00123     STREAM_QOS_OK_METHOD_ID=0x2,
00124     STREAM_CONSUME_METHOD_ID=0x3,
00125     STREAM_CONSUME_OK_METHOD_ID=0x4,
00126     STREAM_CANCEL_METHOD_ID=0x5,
00127     STREAM_PUBLISH_METHOD_ID=0x6,
00128     STREAM_RETURN_METHOD_ID=0x7,
00129     STREAM_DELIVER_METHOD_ID=0x8,
00130     CLUSTER_CLASS_ID=0x80,
00131     CLUSTER_UPDATE_REQUEST_METHOD_ID=0x1,
00132     CLUSTER_UPDATE_OFFER_METHOD_ID=0x2,
00133     CLUSTER_RETRACT_OFFER_METHOD_ID=0x3,
00134     CLUSTER_INITIAL_STATUS_METHOD_ID=0x5,
00135     CLUSTER_READY_METHOD_ID=0x10,
00136     CLUSTER_CONFIG_CHANGE_METHOD_ID=0x11,
00137     CLUSTER_ERROR_CHECK_METHOD_ID=0x14,
00138     CLUSTER_TIMER_WAKEUP_METHOD_ID=0x15,
00139     CLUSTER_TIMER_DROP_METHOD_ID=0x16,
00140     CLUSTER_SHUTDOWN_METHOD_ID=0x20,
00141     CLUSTER_DELIVER_TO_QUEUE_METHOD_ID=0x21,
00142     CLUSTER_CLOCK_METHOD_ID=0x22,
00143     CLUSTER_CONNECTION_CLASS_ID=0x81,
00144     CLUSTER_CONNECTION_ANNOUNCE_METHOD_ID=0x1,
00145     CLUSTER_CONNECTION_DELIVER_CLOSE_METHOD_ID=0x2,
00146     CLUSTER_CONNECTION_DELIVER_DO_OUTPUT_METHOD_ID=0x3,
00147     CLUSTER_CONNECTION_ABORT_METHOD_ID=0x4,
00148     CLUSTER_CONNECTION_SHADOW_SET_USER_METHOD_ID=0x0E,
00149     CLUSTER_CONNECTION_SHADOW_PREPARE_METHOD_ID=0x0F,
00150     CLUSTER_CONNECTION_CONSUMER_STATE_METHOD_ID=0x10,
00151     CLUSTER_CONNECTION_DELIVERY_RECORD_METHOD_ID=0x11,
00152     CLUSTER_CONNECTION_TX_START_METHOD_ID=0x12,
00153     CLUSTER_CONNECTION_TX_ACCEPT_METHOD_ID=0x13,
00154     CLUSTER_CONNECTION_TX_DEQUEUE_METHOD_ID=0x14,
00155     CLUSTER_CONNECTION_TX_ENQUEUE_METHOD_ID=0x15,
00156     CLUSTER_CONNECTION_TX_PUBLISH_METHOD_ID=0x16,
00157     CLUSTER_CONNECTION_TX_END_METHOD_ID=0x17,
00158     CLUSTER_CONNECTION_ACCUMULATED_ACK_METHOD_ID=0x18,
00159     CLUSTER_CONNECTION_OUTPUT_TASK_METHOD_ID=0x19,
00160     CLUSTER_CONNECTION_SESSION_STATE_METHOD_ID=0x1F,
00161     CLUSTER_CONNECTION_SHADOW_READY_METHOD_ID=0x20,
00162     CLUSTER_CONNECTION_MEMBERSHIP_METHOD_ID=0x21,
00163     CLUSTER_CONNECTION_RETRACT_OFFER_METHOD_ID=0x22,
00164     CLUSTER_CONNECTION_QUEUE_POSITION_METHOD_ID=0x30,
00165     CLUSTER_CONNECTION_EXCHANGE_METHOD_ID=0x31,
00166     CLUSTER_CONNECTION_ADD_QUEUE_LISTENER_METHOD_ID=0x34,
00167     CLUSTER_CONNECTION_MANAGEMENT_SETUP_STATE_METHOD_ID=0x36,
00168     CLUSTER_CONNECTION_CONFIG_METHOD_ID=0x37,
00169     CLUSTER_CONNECTION_QUEUE_FAIRSHARE_STATE_METHOD_ID=0x38,
00170     CLUSTER_CONNECTION_QUEUE_OBSERVER_STATE_METHOD_ID=0x39,
00171     CLUSTER_CONNECTION_CLOCK_METHOD_ID=0x40,
00172     CLUSTER_CONNECTION_QUEUE_DEQUEUE_SINCE_PURGE_STATE_METHOD_ID=0x41
00173 };
00174 
00175 }} // namespace qpid::framing
00176 
00177 #endif  

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