summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/frame_functors.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/frame_functors.h')
-rw-r--r--cpp/src/qpid/framing/frame_functors.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpp/src/qpid/framing/frame_functors.h b/cpp/src/qpid/framing/frame_functors.h
index 7b7e24b2b3..ed664d1529 100644
--- a/cpp/src/qpid/framing/frame_functors.h
+++ b/cpp/src/qpid/framing/frame_functors.h
@@ -82,22 +82,6 @@ public:
void operator()(const AMQFrame& f) { content += f.castBody<AMQContentBody>()->getData(); }
};
-class Relay
-{
- FrameHandler& handler;
- const uint16_t channel;
-
-public:
- Relay(FrameHandler& h, uint16_t c) : handler(h), channel(c) {}
-
- void operator()(AMQFrame& f)
- {
- AMQFrame copy(f);
- copy.setChannel(channel);
- handler.handle(copy);
- }
-};
-
class Print
{
std::ostream& out;