diff options
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&); |