mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Update gssapi mechanism
This commit is contained in:
parent
0be8144176
commit
43d8252446
@ -153,9 +153,9 @@ int zmq::gssapi_client_t::decode (msg_t *msg_)
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool zmq::gssapi_client_t::is_handshake_complete () const
|
||||
zmq::mechanism_t::status_t zmq::gssapi_client_t::status () const
|
||||
{
|
||||
return state == connected;
|
||||
return state == connected? mechanism_t::ready: mechanism_t::handshaking;
|
||||
}
|
||||
|
||||
int zmq::gssapi_client_t::initialize_context ()
|
||||
|
@ -42,7 +42,7 @@ namespace zmq
|
||||
virtual int process_handshake_command (msg_t *msg_);
|
||||
virtual int encode (msg_t *msg_);
|
||||
virtual int decode (msg_t *msg_);
|
||||
virtual bool is_handshake_complete () const;
|
||||
virtual status_t status () const;
|
||||
|
||||
private:
|
||||
|
||||
|
@ -315,9 +315,9 @@ int zmq::gssapi_server_t::zap_msg_available ()
|
||||
return rc;
|
||||
}
|
||||
|
||||
bool zmq::gssapi_server_t::is_handshake_complete () const
|
||||
zmq::mechanism_t::status_t zmq::gssapi_server_t::status () const
|
||||
{
|
||||
return state == connected;
|
||||
return state == connected? mechanism_t::ready: mechanism_t::handshaking;
|
||||
}
|
||||
|
||||
int zmq::gssapi_server_t::produce_next_token (msg_t *msg_)
|
||||
|
@ -46,7 +46,7 @@ namespace zmq
|
||||
virtual int encode (msg_t *msg_);
|
||||
virtual int decode (msg_t *msg_);
|
||||
virtual int zap_msg_available ();
|
||||
virtual bool is_handshake_complete () const;
|
||||
virtual status_t status () const;
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user