Tell the session why the engine has stopped

This commit is contained in:
Martin Hurton
2014-05-17 21:04:38 +02:00
parent adddda17cf
commit 7d3fa3afcb
4 changed files with 27 additions and 16 deletions

View File

@@ -27,6 +27,7 @@
#include "io_object.hpp"
#include "pipe.hpp"
#include "socket_base.hpp"
#include "stream_engine.hpp"
namespace zmq
{
@@ -55,7 +56,7 @@ namespace zmq
// Following functions are the interface exposed towards the engine.
virtual void reset ();
void flush ();
void engine_error ();
void engine_error (zmq::stream_engine_t::error_reason_t reason);
// i_pipe_events interface implementation.
void read_activated (zmq::pipe_t *pipe_);