diff options
| author | Alan Conway <aconway@apache.org> | 2008-08-11 18:41:42 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-08-11 18:41:42 +0000 |
| commit | ebed79208a920e4986611e4b31f97921dbc93945 (patch) | |
| tree | 6514a1f06a02e03a9b81a718e09012800c28c707 /cpp/src/qpid/cluster/ConnectionInterceptor.h | |
| parent | 5c2e3052815e76e7565038f771cdb235e0516816 (diff) | |
| download | qpid-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.h | 2 |
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&); |
