From c0170cdc4e6b08abbe20a4d835941eb645ed351d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 22 Sep 2008 14:03:07 +0000 Subject: Removed redundant code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697834 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Prefetch.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 cpp/src/qpid/broker/Prefetch.h (limited to 'cpp/src/qpid/broker/Prefetch.h') diff --git a/cpp/src/qpid/broker/Prefetch.h b/cpp/src/qpid/broker/Prefetch.h deleted file mode 100644 index 8eb27a3e21..0000000000 --- a/cpp/src/qpid/broker/Prefetch.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -#ifndef _Prefetch_ -#define _Prefetch_ - -#include "qpid/framing/amqp_types.h" - -namespace qpid { - namespace broker { - /** - * Count and total size of asynchronously delivered - * (i.e. pushed) messages that have acks outstanding. - */ - struct Prefetch{ - uint32_t size; - uint16_t count; - - void reset() { size = 0; count = 0; } - }; - } -} - - -#endif -- cgit v1.2.1