diff options
| author | Martin Sustrik <sustrik@250bpm.com> | 2010-08-11 14:09:56 +0200 | 
|---|---|---|
| committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-25 15:39:20 +0200 | 
| commit | d13933bc62fce71b5a58118020e0dd3776e79aa9 (patch) | |
| tree | 6586d5b9cc637dbf8acae4b32d24da9c8e046014 /src/lb.hpp | |
| parent | ee1f1af0091d9bdffa0e5ce1783da925b3cd7e56 (diff) | |
I/O object hierarchy implemented
Diffstat (limited to 'src/lb.hpp')
| -rw-r--r-- | src/lb.hpp | 11 | 
1 files changed, 8 insertions, 3 deletions
@@ -32,12 +32,11 @@ namespace zmq      {      public: -        lb_t (); +        lb_t (struct i_terminate_events *sink_);          ~lb_t ();          void attach (writer_t *pipe_); -        void term_pipes (); -        bool has_pipes (); +        void terminate ();          int send (zmq_msg_t *msg_, int flags_);          bool has_out (); @@ -61,6 +60,12 @@ namespace zmq          //  True if last we are in the middle of a multipart message.          bool more; +        //  Object to send events to. +        struct i_terminate_events *sink; + +        //  If true, termination process is already underway. +        bool terminating; +          lb_t (const lb_t&);          void operator = (const lb_t&);      };  | 
