#include <zap_client.hpp>
|
virtual void | handle_zap_status_code () |
|
virtual int | receive_and_process_zap_reply () |
|
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 status_t | status () const =0 |
|
virtual int | zap_msg_available () |
|
virtual | ~mechanism_t () |
|
|
enum | status_t { handshaking,
ready,
error
} |
|
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_) |
|
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 10 of file zap_client.hpp.
◆ zap_client_t()
◆ handle_zap_status_code()
void zmq::zap_client_t::handle_zap_status_code |
( |
| ) |
|
|
virtual |
◆ receive_and_process_zap_reply()
int zmq::zap_client_t::receive_and_process_zap_reply |
( |
| ) |
|
|
virtual |
◆ send_zap_request() [1/2]
void zmq::zap_client_t::send_zap_request |
( |
const char * |
mechanism_, |
|
|
size_t |
mechanism_length_, |
|
|
const uint8_t ** |
credentials_, |
|
|
size_t * |
credentials_sizes_, |
|
|
size_t |
credentials_count_ |
|
) |
| |
◆ send_zap_request() [2/2]
void zmq::zap_client_t::send_zap_request |
( |
const char * |
mechanism_, |
|
|
size_t |
mechanism_length_, |
|
|
const uint8_t * |
credentials_, |
|
|
size_t |
credentials_size_ |
|
) |
| |
◆ peer_address
◆ status_code
The documentation for this class was generated from the following files: