mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-05 04:37:52 +01:00
I/O object hierarchy implemented
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user