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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/frame_functors.h b/cpp/src/qpid/framing/frame_functors.h
index d5b1321d72..992d389faf 100644
--- a/cpp/src/qpid/framing/frame_functors.h
+++ b/cpp/src/qpid/framing/frame_functors.h
@@ -111,6 +111,12 @@ public:
}
};
+class MarkLastSegment
+{
+public:
+ void operator()(AMQFrame& f) const { f.setEof(true); }
+};
+
}
}