summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/OutputControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/OutputControl.h')
-rw-r--r--cpp/src/qpid/sys/OutputControl.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/cpp/src/qpid/sys/OutputControl.h b/cpp/src/qpid/sys/OutputControl.h
index d922a0d85c..eae99beb0f 100644
--- a/cpp/src/qpid/sys/OutputControl.h
+++ b/cpp/src/qpid/sys/OutputControl.h
@@ -7,9 +7,9 @@
* 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
@@ -18,17 +18,22 @@
* under the License.
*
*/
+
+#include "qpid/sys/IntegerTypes.h"
+
#ifndef _OutputControl_
#define _OutputControl_
namespace qpid {
namespace sys {
- class OutputControl
+ class OutputControl
{
public:
virtual ~OutputControl() {}
+ virtual void abort() = 0;
virtual void activateOutput() = 0;
+ virtual void giveReadCredit(int32_t credit) = 0;
};
}