zmqpp 4.1.2
C++ bindings for 0mq (libzmq)
Loading...
Searching...
No Matches
context_options.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_CONTEXT_OPTIONS_HPP_
18#define ZMQPP_CONTEXT_OPTIONS_HPP_
19
20namespace zmqpp
21{
22
28ZMQPP_COMPARABLE_ENUM context_option {
29 io_threads = ZMQ_IO_THREADS,
30 max_sockets = ZMQ_MAX_SOCKETS,
31#if (ZMQ_VERSION_MAJOR >= 4)
32#if (ZMQ_VERSION_MINOR >= 1)
33 thread_sched_policy = ZMQ_THREAD_SCHED_POLICY,
34 thread_priority = ZMQ_THREAD_PRIORITY,
35#endif
36 ipv6 = ZMQ_IPV6
37#endif
38};
39
40}
41
42#endif /* ZMQPP_CONTEXT_OPTIONS_HPP_ */
C++ wrapper around zmq.
Definition: actor.cpp:30
ZMQPP_COMPARABLE_ENUM context_option
possible Context options in zmq
Definition: context_options.hpp:28