diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-03-09 08:43:20 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-03-09 08:43:20 +0100 |
commit | e04e2cdbbaf351eb04164bdcd293fcb8fa22a9a4 (patch) | |
tree | 419a8ff7db0495de57716d4595dc3d235c6ad6f6 /src/pipe.hpp | |
parent | 9481c69b0f60068f12aa26699588fed6a8faceec (diff) |
rollback functionality added to pipe
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r-- | src/pipe.hpp | 3 |
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 (); |