diff options
| author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-03 11:30:13 +0200 | 
|---|---|---|
| committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-03 11:30:13 +0200 | 
| commit | cc3755a16f00026af882ed14d122cc8aa6d50e82 (patch) | |
| tree | 33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/i_demux.hpp | |
| parent | 183b6887644ac05c951a3f9143248ed86e91052f (diff) | |
renamed from zs to zmq
Diffstat (limited to 'src/i_demux.hpp')
| -rw-r--r-- | src/i_demux.hpp | 11 | 
1 files changed, 6 insertions, 5 deletions
| diff --git a/src/i_demux.hpp b/src/i_demux.hpp index edded1e..c4755b5 100644 --- a/src/i_demux.hpp +++ b/src/i_demux.hpp @@ -17,10 +17,10 @@      along with this program.  If not, see <http://www.gnu.org/licenses/>.  */ -#ifndef __ZS_I_DEMUX_HPP_INCLUDED__ -#define __ZS_I_DEMUX_HPP_INCLUDED__ +#ifndef __ZMQ_I_DEMUX_HPP_INCLUDED__ +#define __ZMQ_I_DEMUX_HPP_INCLUDED__ -namespace zs +namespace zmq  {      struct i_demux @@ -28,7 +28,8 @@ namespace zs          //  Attaches mux to a particular session.          virtual void set_session (class session_t *session_) = 0; -        //  To be called when the whole infrastrucure is being closed (zs_term). +        //  To be called when the whole infrastrucure +        //  is being closed (zmq_term).          virtual void shutdown () = 0;          //  To be called when session is being closed. @@ -45,7 +46,7 @@ namespace zs          //  Sends the message. Returns false if the message cannot be sent          //  because the pipes are full. -        virtual bool send (struct zs_msg *msg_) = 0; +        virtual bool send (struct zmq_msg *msg_) = 0;          //  Flushes messages downstream.          virtual void flush () = 0; | 
