diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-27 16:24:21 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-27 16:24:21 +0200 |
commit | 2dd501651592baa7f9e49f52e1321ae2b9b4e126 (patch) | |
tree | fe5d221061004894eb259304fcdbd4f8092de99d /src/i_inout.hpp | |
parent | 67194267f89d63391288600f127205a2b7a8a5ae (diff) |
multiple bugs fixed
Diffstat (limited to 'src/i_inout.hpp')
-rw-r--r-- | src/i_inout.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i_inout.hpp b/src/i_inout.hpp index 8901c04..89b9fbd 100644 --- a/src/i_inout.hpp +++ b/src/i_inout.hpp @@ -27,9 +27,17 @@ namespace zmq struct i_inout { + // Engine asks to get a message to send to the network. virtual bool read (::zmq_msg_t *msg_) = 0; + + // Engine sends the incoming message further on downstream. virtual bool write (::zmq_msg_t *msg_) = 0; + + // Flush all the previously written messages downstream. virtual void flush () = 0; + + // Drop all the references to the engine. + virtual void detach () = 0; }; } |