libzmq
src
peer.hpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MPL-2.0 */
2
3
#ifndef __ZMQ_PEER_HPP_INCLUDED__
4
#define __ZMQ_PEER_HPP_INCLUDED__
5
6
#include <map>
7
8
#include "
socket_base.hpp
"
9
#include "
server.hpp
"
10
#include "
session_base.hpp
"
11
#include "
stdint.hpp
"
12
#include "
blob.hpp
"
13
#include "
fq.hpp
"
14
15
namespace
zmq
16
{
17
class
ctx_t;
18
class
msg_t;
19
class
pipe_t;
20
21
class
peer_t
ZMQ_FINAL
:
public
server_t
22
{
23
public
:
24
peer_t (zmq::ctx_t *parent_, uint32_t tid_,
int
sid_);
25
26
// Overrides of functions from socket_base_t.
27
void
xattach_pipe (zmq::pipe_t *pipe_,
28
bool
subscribe_to_all_,
29
bool
locally_initiated_);
30
31
uint32_t connect_peer (
const
char
*endpoint_uri_);
32
33
private
:
34
uint32_t
_peer_last_routing_id
;
35
36
ZMQ_NON_COPYABLE_NOR_MOVABLE
(peer_t)
37
};
38
}
39
40
#endif
zmq
Definition:
zmq.hpp:229
server.hpp
stdint.hpp
ZMQ_NON_COPYABLE_NOR_MOVABLE
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
Definition:
macros.hpp:58
fq.hpp
socket_base.hpp
blob.hpp
session_base.hpp
zmq::ZMQ_FINAL::_peer_last_routing_id
uint32_t _peer_last_routing_id
Definition:
peer.hpp:34
ZMQ_FINAL
Definition:
unittest_ip_resolver.cpp:26
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57