mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-23 16:48:08 +02:00
Update mechanism API so we can check for ERROR status
This commit is contained in:
@@ -237,9 +237,9 @@ int zmq::curve_server_t::zap_msg_available ()
|
||||
return rc;
|
||||
}
|
||||
|
||||
bool zmq::curve_server_t::is_handshake_complete () const
|
||||
zmq::mechanism_t::status_t zmq::curve_server_t::status () const
|
||||
{
|
||||
return state == connected;
|
||||
return state == connected? mechanism_t::ready: mechanism_t::handshaking;
|
||||
}
|
||||
|
||||
int zmq::curve_server_t::process_hello (msg_t *msg_)
|
||||
|
Reference in New Issue
Block a user