pub.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_PUB_HPP_INCLUDED__
4 #define __ZMQ_PUB_HPP_INCLUDED__
5 
6 #include "xpub.hpp"
7 
8 namespace zmq
9 {
10 class ctx_t;
11 class io_thread_t;
12 class socket_base_t;
13 class msg_t;
14 
15 class pub_t ZMQ_FINAL : public xpub_t
16 {
17  public:
18  pub_t (zmq::ctx_t *parent_, uint32_t tid_, int sid_);
19  ~pub_t ();
20 
21  // Implementations of virtual functions from socket_base_t.
22  void xattach_pipe (zmq::pipe_t *pipe_,
23  bool subscribe_to_all_ = false,
24  bool locally_initiated_ = false);
25  int xrecv (zmq::msg_t *msg_);
26  bool xhas_in ();
27 
29 };
30 }
31 
32 #endif
zmq
Definition: zmq.hpp:229
ZMQ_NON_COPYABLE_NOR_MOVABLE
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
Definition: macros.hpp:58
xpub.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:58