/home/aconway/svn/qpid/cpp/gen/qpid/framing/AMQP_Constants.h

00001 /*
00002  *
00003  * Licensed to the Apache Software Foundation (ASF) under one
00004  * or more contributor license agreements.  See the NOTICE file
00005  * distributed with this work for additional information
00006  * regarding copyright ownership.  The ASF licenses this file
00007  * to you under the Apache License, Version 2.0 (the
00008  * "License"); you may not use this file except in compliance
00009  * with the License.  You may obtain a copy of the License at
00010  * 
00011  *   http://www.apache.org/licenses/LICENSE-2.0
00012  * 
00013  * Unless required by applicable law or agreed to in writing,
00014  * software distributed under the License is distributed on an
00015  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00016  * KIND, either express or implied.  See the License for the
00017  * specific language governing permissions and limitations
00018  * under the License.
00019  *
00020  */
00021 
00022 /*
00023  * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
00024  * Supported AMQP versions:
00025  *   0-9
00026  */
00027         // NOTE: This file is intended to be included within the class structure of both
00028         // the client and server operations classes. These need to have <sstream> included.
00029  
00030         // Constant getValue methods
00031         
00032     static const char* accessRefused() { return "403"; }
00033     static int accessRefusedAsInt() { return 403; }
00034     static double accessRefusedAsDouble() { return (double)403; }
00035 
00036     static const char* channelError() { return "504"; }
00037     static int channelErrorAsInt() { return 504; }
00038     static double channelErrorAsDouble() { return (double)504; }
00039 
00040     static const char* commandInvalid() { return "503"; }
00041     static int commandInvalidAsInt() { return 503; }
00042     static double commandInvalidAsDouble() { return (double)503; }
00043 
00044     static const char* connectionForced() { return "320"; }
00045     static int connectionForcedAsInt() { return 320; }
00046     static double connectionForcedAsDouble() { return (double)320; }
00047 
00048     static const char* contentTooLarge() { return "311"; }
00049     static int contentTooLargeAsInt() { return 311; }
00050     static double contentTooLargeAsDouble() { return (double)311; }
00051 
00052     static const char* frameBody() { return "3"; }
00053     static int frameBodyAsInt() { return 3; }
00054     static double frameBodyAsDouble() { return (double)3; }
00055 
00056     static const char* frameEnd() { return "206"; }
00057     static int frameEndAsInt() { return 206; }
00058     static double frameEndAsDouble() { return (double)206; }
00059 
00060     static const char* frameError() { return "501"; }
00061     static int frameErrorAsInt() { return 501; }
00062     static double frameErrorAsDouble() { return (double)501; }
00063 
00064     static const char* frameHeader() { return "2"; }
00065     static int frameHeaderAsInt() { return 2; }
00066     static double frameHeaderAsDouble() { return (double)2; }
00067 
00068     static const char* frameHeartbeat() { return "8"; }
00069     static int frameHeartbeatAsInt() { return 8; }
00070     static double frameHeartbeatAsDouble() { return (double)8; }
00071 
00072     static const char* frameMethod() { return "1"; }
00073     static int frameMethodAsInt() { return 1; }
00074     static double frameMethodAsDouble() { return (double)1; }
00075 
00076     static const char* frameMinSize() { return "4096"; }
00077     static int frameMinSizeAsInt() { return 4096; }
00078     static double frameMinSizeAsDouble() { return (double)4096; }
00079 
00080     static const char* frameOobBody() { return "6"; }
00081     static int frameOobBodyAsInt() { return 6; }
00082     static double frameOobBodyAsDouble() { return (double)6; }
00083 
00084     static const char* frameOobHeader() { return "5"; }
00085     static int frameOobHeaderAsInt() { return 5; }
00086     static double frameOobHeaderAsDouble() { return (double)5; }
00087 
00088     static const char* frameOobMethod() { return "4"; }
00089     static int frameOobMethodAsInt() { return 4; }
00090     static double frameOobMethodAsDouble() { return (double)4; }
00091 
00092     static const char* frameRequest() { return "9"; }
00093     static int frameRequestAsInt() { return 9; }
00094     static double frameRequestAsDouble() { return (double)9; }
00095 
00096     static const char* frameResponse() { return "10"; }
00097     static int frameResponseAsInt() { return 10; }
00098     static double frameResponseAsDouble() { return (double)10; }
00099 
00100     static const char* frameTrace() { return "7"; }
00101     static int frameTraceAsInt() { return 7; }
00102     static double frameTraceAsDouble() { return (double)7; }
00103 
00104     static const char* internalError() { return "541"; }
00105     static int internalErrorAsInt() { return 541; }
00106     static double internalErrorAsDouble() { return (double)541; }
00107 
00108     static const char* invalidPath() { return "402"; }
00109     static int invalidPathAsInt() { return 402; }
00110     static double invalidPathAsDouble() { return (double)402; }
00111 
00112     static const char* noConsumers() { return "313"; }
00113     static int noConsumersAsInt() { return 313; }
00114     static double noConsumersAsDouble() { return (double)313; }
00115 
00116     static const char* noRoute() { return "312"; }
00117     static int noRouteAsInt() { return 312; }
00118     static double noRouteAsDouble() { return (double)312; }
00119 
00120     static const char* notAllowed() { return "530"; }
00121     static int notAllowedAsInt() { return 530; }
00122     static double notAllowedAsDouble() { return (double)530; }
00123 
00124     static const char* notDelivered() { return "310"; }
00125     static int notDeliveredAsInt() { return 310; }
00126     static double notDeliveredAsDouble() { return (double)310; }
00127 
00128     static const char* notFound() { return "404"; }
00129     static int notFoundAsInt() { return 404; }
00130     static double notFoundAsDouble() { return (double)404; }
00131 
00132     static const char* notImplemented() { return "540"; }
00133     static int notImplementedAsInt() { return 540; }
00134     static double notImplementedAsDouble() { return (double)540; }
00135 
00136     static const char* preconditionFailed() { return "406"; }
00137     static int preconditionFailedAsInt() { return 406; }
00138     static double preconditionFailedAsDouble() { return (double)406; }
00139 
00140     static const char* replySuccess() { return "200"; }
00141     static int replySuccessAsInt() { return 200; }
00142     static double replySuccessAsDouble() { return (double)200; }
00143 
00144     static const char* resourceError() { return "506"; }
00145     static int resourceErrorAsInt() { return 506; }
00146     static double resourceErrorAsDouble() { return (double)506; }
00147 
00148     static const char* resourceLocked() { return "405"; }
00149     static int resourceLockedAsInt() { return 405; }
00150     static double resourceLockedAsDouble() { return (double)405; }
00151 
00152     static const char* syntaxError() { return "502"; }
00153     static int syntaxErrorAsInt() { return 502; }
00154     static double syntaxErrorAsDouble() { return (double)502; }
00155 
00156  

Generated on Tue Apr 17 14:22:03 2007 for Qpid by  doxygen 1.4.7