rollback functionality added to pipe

This commit is contained in:
Martin Sustrik
2010-03-09 08:43:20 +01:00
parent 9481c69b0f
commit e04e2cdbba
4 changed files with 63 additions and 1 deletions

View File

@@ -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 ();