Go to the documentation of this file.
3 #ifndef __ZMQ_MECHANISM_HPP_INCLUDED__
4 #define __ZMQ_MECHANISM_HPP_INCLUDED__
53 void set_user_id (
const void *user_id_,
size_t size_);
80 size_t ptr_capacity_)
const;
85 size_t prefix_len_)
const;
93 bool zap_flag_ =
false);
mechanism_t(const options_t &options_)
void make_command_with_basic_properties(msg_t *msg_, const char *prefix_, size_t prefix_len_) const
void set_peer_routing_id(const void *id_ptr_, size_t id_size_)
metadata_t::dict_t _zmtp_properties
static size_t property_len(const char *name_, size_t value_len_)
virtual int encode(msg_t *)
GLsizei const GLchar *const * string
virtual int decode(msg_t *)
int parse_metadata(const unsigned char *ptr_, size_t length_, bool zap_flag_=false)
const blob_t & get_user_id() const
const metadata_t::dict_t & get_zmtp_properties() const
bool check_socket_type(const char *type_, size_t len_) const
static size_t add_property(unsigned char *ptr_, size_t ptr_capacity_, const char *name_, const void *value_, size_t value_len_)
virtual int next_handshake_command(msg_t *msg_)=0
virtual int process_handshake_command(msg_t *msg_)=0
virtual status_t status() const =0
size_t add_basic_properties(unsigned char *ptr_, size_t ptr_capacity_) const
size_t basic_properties_len() const
metadata_t::dict_t _zap_properties
static const char * socket_type_string(int socket_type_)
virtual int zap_msg_available()
const metadata_t::dict_t & get_zap_properties() const
void peer_routing_id(msg_t *msg_)
void set_user_id(const void *user_id_, size_t size_)
virtual int property(const std::string &name_, const void *value_, size_t length_)
DebugStringOptions options_
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:56