00001 #ifndef _client_AckMode_h 00002 #define _client_AckMode_h 00003 00004 /* 00005 * 00006 * Copyright (c) 2006 The Apache Software Foundation 00007 * 00008 * Licensed under the Apache License, Version 2.0 (the "License"); 00009 * you may not use this file except in compliance with the License. 00010 * You may obtain a copy of the License at 00011 * 00012 * http://www.apache.org/licenses/LICENSE-2.0 00013 * 00014 * Unless required by applicable law or agreed to in writing, software 00015 * distributed under the License is distributed on an "AS IS" BASIS, 00016 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00017 * See the License for the specific language governing permissions and 00018 * limitations under the License. 00019 * 00020 */ 00021 00022 namespace qpid { 00023 namespace client { 00024 00030 enum AckMode { 00034 NO_ACK = 0, 00038 AUTO_ACK = 1, 00041 LAZY_ACK = 2, 00044 CLIENT_ACK = 3 00045 }; 00046 00047 }} // namespace qpid::client 00048 00049 00050 00051 #endif 00052 #ifndef _client_AckMode_h 00053 #define _client_AckMode_h 00054 00055 /* 00056 * 00057 * Copyright (c) 2006 The Apache Software Foundation 00058 * 00059 * Licensed under the Apache License, Version 2.0 (the "License"); 00060 * you may not use this file except in compliance with the License. 00061 * You may obtain a copy of the License at 00062 * 00063 * http://www.apache.org/licenses/LICENSE-2.0 00064 * 00065 * Unless required by applicable law or agreed to in writing, software 00066 * distributed under the License is distributed on an "AS IS" BASIS, 00067 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00068 * See the License for the specific language governing permissions and 00069 * limitations under the License. 00070 * 00071 */ 00072 00073 namespace qpid { 00074 namespace client { 00075 00081 enum AckMode { 00085 NO_ACK = 0, 00089 AUTO_ACK = 1, 00092 LAZY_ACK = 2, 00095 CLIENT_ACK = 3 00096 }; 00097 00098 }} // namespace qpid::client 00099 00100 00101 00102 #endif