We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 301871a + 0b86d06 commit 23cd83eCopy full SHA for 23cd83e
zmq.hpp
@@ -2387,6 +2387,8 @@ class monitor_t
2387
2388
_socket = socket_ref();
2389
}
2390
+
2391
+ virtual void on_monitor_stopped() {}
2392
#endif
2393
virtual void on_monitor_started() {}
2394
virtual void on_event_connected(const zmq_event_t &event_, const char *addr_)
@@ -2528,6 +2530,7 @@ class monitor_t
2528
2530
2529
2531
#ifdef ZMQ_EVENT_MONITOR_STOPPED
2532
if (event->event == ZMQ_EVENT_MONITOR_STOPPED) {
2533
+ on_monitor_stopped();
2534
return false;
2535
2536
0 commit comments