I/O object hierarchy implemented

This commit is contained in:
Martin Sustrik
2010-08-11 14:09:56 +02:00
parent ee1f1af009
commit d13933bc62
51 changed files with 1441 additions and 994 deletions

View File

@@ -20,8 +20,6 @@
#ifndef __ZMQ_I_ENGINE_HPP_INCLUDED__
#define __ZMQ_I_ENGINE_HPP_INCLUDED__
#include <stddef.h>
namespace zmq
{
@@ -30,18 +28,19 @@ namespace zmq
virtual ~i_engine () {}
// Plug the engine to the session.
virtual void plug (struct i_inout *inout_) = 0;
virtual void plug (class io_thread_t *io_thread_,
struct i_inout *inout_) = 0;
// Unplug the engine from the session.
virtual void unplug () = 0;
// This method is called by the session to signalise that there
// are messages to send available.
virtual void revive () = 0;
// This method is called by the session to signalise that more
// messages can be written to the pipe.
virtual void resume_input () = 0;
virtual void activate_in () = 0;
// This method is called by the session to signalise that there
// are messages to send available.
virtual void activate_out () = 0;
};
}