Example #1
0
        public int RegisterMonitor(LibZmq.MonitorFuncCallback callback)
        {
            _callback = callback;

            return LibZmq.zmq_ctx_set_monitor(ContextHandle, _callback);
        }
Example #2
0
        public int UnregisterMonitor()
        {
            _callback = null;

            return LibZmq.zmq_ctx_set_monitor(ContextHandle, null);
        }