null_mechanism.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_NULL_MECHANISM_HPP_INCLUDED__
4 #define __ZMQ_NULL_MECHANISM_HPP_INCLUDED__
5 
6 #include "mechanism.hpp"
7 #include "options.hpp"
8 #include "zap_client.hpp"
9 
10 namespace zmq
11 {
12 class msg_t;
13 class session_base_t;
14 
15 class null_mechanism_t ZMQ_FINAL : public zap_client_t
16 {
17  public:
18  null_mechanism_t (session_base_t *session_,
19  const std::string &peer_address_,
20  const options_t &options_);
21  ~null_mechanism_t ();
22 
23  // mechanism implementation
24  int next_handshake_command (msg_t *msg_);
25  int process_handshake_command (msg_t *msg_);
26  int zap_msg_available ();
27  status_t status () const;
28 
29  private:
36 
37  int process_ready_command (const unsigned char *cmd_data_,
38  size_t data_size_);
39  int process_error_command (const unsigned char *cmd_data_,
40  size_t data_size_);
41 
42  void send_zap_request ();
43 };
44 }
45 
46 #endif
mechanism.hpp
zmq::ZMQ_FINAL::_ready_command_received
bool _ready_command_received
Definition: null_mechanism.hpp:32
zmq::ZMQ_FINAL::_error_command_received
bool _error_command_received
Definition: null_mechanism.hpp:33
string
GLsizei const GLchar *const * string
Definition: glcorearb.h:3083
zmq
Definition: zmq.hpp:229
zap_client.hpp
zmq::ZMQ_FINAL::_ready_command_sent
bool _ready_command_sent
Definition: null_mechanism.hpp:30
zmq::ZMQ_FINAL::_zap_request_sent
bool _zap_request_sent
Definition: null_mechanism.hpp:34
options.hpp
zmq::ZMQ_FINAL::_zap_reply_received
bool _zap_reply_received
Definition: null_mechanism.hpp:35
zmq::ZMQ_FINAL::_error_command_sent
bool _error_command_sent
Definition: null_mechanism.hpp:31
ZMQ_FINAL
Definition: unittest_ip_resolver.cpp:26
options_
DebugStringOptions options_
Definition: src/google/protobuf/descriptor.cc:2410


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57