sub.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_SUB_HPP_INCLUDED__
4 #define __ZMQ_SUB_HPP_INCLUDED__
5 
6 #include "xsub.hpp"
7 
8 namespace zmq
9 {
10 class ctx_t;
11 class msg_t;
12 class io_thread_t;
13 class socket_base_t;
14 
15 class sub_t ZMQ_FINAL : public xsub_t
16 {
17  public:
18  sub_t (zmq::ctx_t *parent_, uint32_t tid_, int sid_);
19  ~sub_t ();
20 
21  protected:
22  int xsetsockopt (int option_, const void *optval_, size_t optvallen_);
23  int xsend (zmq::msg_t *msg_);
24  bool xhas_out ();
25 
27 };
28 }
29 
30 #endif
zmq
Definition: zmq.hpp:229
ZMQ_NON_COPYABLE_NOR_MOVABLE
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
Definition: macros.hpp:58
xsub.hpp
ZMQ_FINAL
Definition: unittest_ip_resolver.cpp:26
zmq::msg_t
Definition: msg.hpp:33


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