summaryrefslogtreecommitdiff
path: root/src/xrep.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xrep.hpp')
-rw-r--r--src/xrep.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xrep.hpp b/src/xrep.hpp
index 1c45655..7ca138c 100644
--- a/src/xrep.hpp
+++ b/src/xrep.hpp
@@ -51,6 +51,11 @@ namespace zmq
bool xhas_in ();
bool xhas_out ();
+ protected:
+
+ // Rollback any message parts that were sent but not yet flushed.
+ int rollback ();
+
private:
// Hook into the termination process.