zmqpp 4.1.2
C++ bindings for 0mq (libzmq)
socket_mechanisms.hpp
Go to the documentation of this file.
1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * This file is part of zmqpp.
7 * Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
8 */
9
17#ifndef ZMQPP_SOCKET_MECHANISMS_HPP_
18#define ZMQPP_SOCKET_MECHANISMS_HPP_
19
20namespace zmqpp
21{
22
28ZMQPP_COMPARABLE_ENUM socket_security {
29#if (ZMQ_VERSION_MAJOR >= 4)
35 none = ZMQ_NULL,
36
44 plain = ZMQ_PLAIN,
45
52 curve = ZMQ_CURVE,
53#endif
54};
55
56}
57
58#endif /* ZMQPP_SOCKET_TYPES_HPP_ */
C++ wrapper around zmq.
Definition: actor.cpp:30
ZMQPP_COMPARABLE_ENUM socket_security
Socket security mechanisms allowed by zmq.
Definition: socket_mechanisms.hpp:28