summaryrefslogtreecommitdiff
path: root/src/pipe.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r--src/pipe.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pipe.hpp b/src/pipe.hpp
index a155e95..771081c 100644
--- a/src/pipe.hpp
+++ b/src/pipe.hpp
@@ -100,6 +100,9 @@ namespace zmq
// message cannot be written because high watermark was reached.
bool write (zmq_msg_t *msg_);
+ // Remove any unflushed messages from the pipe.
+ void rollback ();
+
// Flush the messages downsteam.
void flush ();