libzmq
src
v1_encoder.hpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MPL-2.0 */
2
3
#ifndef __ZMQ_V1_ENCODER_HPP_INCLUDED__
4
#define __ZMQ_V1_ENCODER_HPP_INCLUDED__
5
6
#include "
encoder.hpp
"
7
8
namespace
zmq
9
{
10
// Encoder for ZMTP/1.0 protocol. Converts messages into data batches.
11
12
class
v1_encoder_t
ZMQ_FINAL
:
public
encoder_base_t<v1_encoder_t>
13
{
14
public
:
15
v1_encoder_t (
size_t
bufsize_);
16
~v1_encoder_t ();
17
18
private
:
19
void
size_ready ();
20
void
message_ready ();
21
22
unsigned
char
_tmpbuf[11];
23
24
ZMQ_NON_COPYABLE_NOR_MOVABLE
(v1_encoder_t)
25
};
26
}
27
28
#endif
zmq
Definition:
zmq.hpp:229
ZMQ_NON_COPYABLE_NOR_MOVABLE
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
Definition:
macros.hpp:58
encoder.hpp
ZMQ_FINAL
Definition:
unittest_ip_resolver.cpp:26
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:01