diff options
| author | Alan Conway <aconway@apache.org> | 2008-08-06 21:17:19 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-08-06 21:17:19 +0000 |
| commit | 03c3f6edb2b17841053250bda46fde1054d32d67 (patch) | |
| tree | 09f7c1d5ddbde595164414f1c0ba1d860675a315 /cpp/src/qpid/broker/Connection.cpp | |
| parent | 31b2f1436808fc07f636dc02416386e44b23071c (diff) | |
| download | qpid-python-03c3f6edb2b17841053250bda46fde1054d32d67.tar.gz | |
- Added OutputTask::hasOutput() test.
- Cluster only sends doOutput events when hasOutput()
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@683416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index 2525fed864..ab18d1f035 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -193,6 +193,8 @@ void Connection::closedImpl(){ // Physically closed, suspend open sessions. } } +bool Connection::hasOutput() { return outputTasks.hasOutput(); } + bool Connection::doOutput() { return doOutputFn(); } bool Connection::doOutputImpl() { |
