mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-01-31 14:39:56 +01:00
Problem: inconsistent symbol naming for ZMQ_VERSION>=4.2.3
Solution: use new on_event_* methods
This commit is contained in:
parent
059e4b4d8d
commit
4a08086815
6
zmq.hpp
6
zmq.hpp
@ -856,13 +856,13 @@ namespace zmq
|
||||
#ifdef ZMQ_BUILD_DRAFT_API
|
||||
#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 2, 3)
|
||||
case ZMQ_EVENT_HANDSHAKE_FAILED_NO_DETAIL:
|
||||
on_event_handshake_failed(*event, address.c_str());
|
||||
on_event_handshake_failed_no_detail(*event, address.c_str());
|
||||
break;
|
||||
case ZMQ_EVENT_HANDSHAKE_FAILED_PROTOCOL:
|
||||
on_event_handshake_failed(*event, address.c_str());
|
||||
on_event_handshake_failed_protocol(*event, address.c_str());
|
||||
break;
|
||||
case ZMQ_EVENT_HANDSHAKE_FAILED_AUTH:
|
||||
on_event_handshake_failed(*event, address.c_str());
|
||||
on_event_handshake_failed_auth(*event, address.c_str());
|
||||
break;
|
||||
case ZMQ_EVENT_HANDSHAKE_SUCCEEDED:
|
||||
on_event_handshake_succeeded(*event, address.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user