#include <zap_client.hpp>
|
| void | handle_zap_status_code () ZMQ_FINAL |
| |
| int | receive_and_process_zap_reply () ZMQ_FINAL |
| |
| status_t | status () const ZMQ_FINAL |
| |
| | zap_client_common_handshake_t (session_base_t *session_, const std::string &peer_address_, const options_t &options_, state_t zap_reply_ok_state_) |
| |
| int | zap_msg_available () ZMQ_FINAL |
| |
| int | check_basic_command_structure (msg_t *msg_) const |
| |
| void | handle_error_reason (const char *error_reason_, size_t error_reason_len_) |
| |
| | mechanism_base_t (session_base_t *session_, const options_t &options_) |
| |
| bool | zap_required () const |
| |
| size_t | add_basic_properties (unsigned char *ptr_, size_t ptr_capacity_) const |
| |
| size_t | basic_properties_len () const |
| |
| void | make_command_with_basic_properties (msg_t *msg_, const char *prefix_, size_t prefix_len_) const |
| |
| int | parse_metadata (const unsigned char *ptr_, size_t length_, bool zap_flag_=false) |
| |
| virtual int | property (const std::string &name_, const void *value_, size_t length_) |
| |
|
| enum | status_t { handshaking,
ready,
error
} |
| |
| void | send_zap_request (const char *mechanism_, size_t mechanism_length_, const uint8_t **credentials_, size_t *credentials_sizes_, size_t credentials_count_) |
| |
| void | send_zap_request (const char *mechanism_, size_t mechanism_length_, const uint8_t *credentials_, size_t credentials_size_) |
| |
| | zap_client_t (session_base_t *session_, const std::string &peer_address_, const options_t &options_) |
| |
| virtual int | decode (msg_t *) |
| |
| virtual int | encode (msg_t *) |
| |
| const blob_t & | get_user_id () const |
| |
| const metadata_t::dict_t & | get_zap_properties () const |
| |
| const metadata_t::dict_t & | get_zmtp_properties () const |
| |
| | mechanism_t (const options_t &options_) |
| |
| virtual int | next_handshake_command (msg_t *msg_)=0 |
| |
| void | peer_routing_id (msg_t *msg_) |
| |
| virtual int | process_handshake_command (msg_t *msg_)=0 |
| |
| void | set_peer_routing_id (const void *id_ptr_, size_t id_size_) |
| |
| void | set_user_id (const void *user_id_, size_t size_) |
| |
| virtual | ~mechanism_t () |
| |
| static size_t | add_property (unsigned char *ptr_, size_t ptr_capacity_, const char *name_, const void *value_, size_t value_len_) |
| |
| static size_t | property_len (const char *name_, size_t value_len_) |
| |
| static const char * | socket_type_string (int socket_type_) |
| |
Definition at line 38 of file zap_client.hpp.
◆ state_t
| Enumerator |
|---|
| waiting_for_hello | |
| sending_welcome | |
| waiting_for_initiate | |
| waiting_for_zap_reply | |
| sending_ready | |
| sending_error | |
| error_sent | |
| ready | |
Definition at line 41 of file zap_client.hpp.
◆ zap_client_common_handshake_t()
◆ handle_zap_status_code()
| void zmq::zap_client_common_handshake_t::handle_zap_status_code |
( |
| ) |
|
|
protectedvirtual |
◆ receive_and_process_zap_reply()
| int zmq::zap_client_common_handshake_t::receive_and_process_zap_reply |
( |
| ) |
|
|
protectedvirtual |
◆ status()
◆ zap_msg_available()
| int zmq::zap_client_common_handshake_t::zap_msg_available |
( |
| ) |
|
|
protectedvirtual |
◆ _zap_reply_ok_state
| const state_t zmq::zap_client_common_handshake_t::_zap_reply_ok_state |
|
private |
◆ state
| state_t zmq::zap_client_common_handshake_t::state |
|
protected |
The documentation for this class was generated from the following files: