summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ConnectionInterceptor.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-08-11 18:41:42 +0000
committerAlan Conway <aconway@apache.org>2008-08-11 18:41:42 +0000
commitebed79208a920e4986611e4b31f97921dbc93945 (patch)
tree6514a1f06a02e03a9b81a718e09012800c28c707 /cpp/src/qpid/cluster/ConnectionInterceptor.h
parent5c2e3052815e76e7565038f771cdb235e0516816 (diff)
downloadqpid-python-ebed79208a920e4986611e4b31f97921dbc93945.tar.gz
Integrate CPG file descriptor into broker polling.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@684865 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ConnectionInterceptor.h')
-rw-r--r--cpp/src/qpid/cluster/ConnectionInterceptor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/ConnectionInterceptor.h b/cpp/src/qpid/cluster/ConnectionInterceptor.h
index 7a955ddd80..a256738aeb 100644
--- a/cpp/src/qpid/cluster/ConnectionInterceptor.h
+++ b/cpp/src/qpid/cluster/ConnectionInterceptor.h
@@ -55,6 +55,8 @@ class ConnectionInterceptor {
void doOutput() {}
void activateOutput() {}
};
+
+ bool isShadow() { return shadowId != Cluster::ShadowConnectionId(0,0); }
// Functions to intercept to Connection extension points.
void received(framing::AMQFrame&);