From e04e2cdbbaf351eb04164bdcd293fcb8fa22a9a4 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 9 Mar 2010 08:43:20 +0100 Subject: rollback functionality added to pipe --- src/pipe.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pipe.hpp') 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 (); -- cgit v1.2.3