YAMI4 C++
option_names.h
1 // Copyright Maciej Sobczak 2008-2019.
2 // This file is part of YAMI4.
3 //
4 // YAMI4 is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // YAMI4 is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with YAMI4. If not, see <http://www.gnu.org/licenses/>.
16 
17 #ifndef YAMICPP_OPTION_NAMES_H_INCLUDED
18 #define YAMICPP_OPTION_NAMES_H_INCLUDED
19 
20 #include <yami4-core/dll.h>
21 
22 namespace yami
23 {
24 
25 namespace option_names
26 {
27 
28 // same as in core
29 DLL const char tcp_listen_backlog[] = "tcp_listen_backlog";
30 DLL const char tcp_reuseaddr[] = "tcp_reuseaddr";
31 DLL const char tcp_nonblocking[] = "tcp_nonblocking";
32 DLL const char tcp_connect_timeout[] = "tcp_connect_timeout";
33 DLL const char tcp_nodelay[] = "tcp_nodelay";
34 DLL const char tcp_keepalive[] = "tcp_keepalive";
35 DLL const char tcp_frame_size[] = "tcp_frame_size";
36 DLL const char udp_frame_size[] = "udp_frame_size";
37 DLL const char unix_listen_backlog[] = "unix_listen_backlog";
38 DLL const char unix_nonblocking[] = "unix_nonblocking";
39 DLL const char unix_frame_size[] = "unix_frame_size";
40 DLL const char file_nonblocking[] = "file_nonblocking";
41 DLL const char file_frame_size[] = "file_frame_size";
42 
43 #ifdef YAMI4_WITH_OPEN_SSL
44 DLL const char ssl_certificate_file[] = "ssl_certificate_file";
45 DLL const char ssl_private_key_file[] = "ssl_private_key_file";
46 #endif // YAMI4_WITH_OPEN_SSL
47 
48 // additional options for C++
49 DLL const char dispatcher_threads[] = "dispatcher_threads";
50 DLL const char connection_retries[] = "connection_retries";
51 DLL const char connection_retry_delay_spread[] = "connection_retry_delay_spread";
52 DLL const char outgoing_high_water_mark[] = "outgoing_high_water_mark";
53 DLL const char outgoing_low_water_mark[] = "outgoing_low_water_mark";
54 DLL const char incoming_high_water_mark[] = "incoming_high_water_mark";
55 DLL const char incoming_low_water_mark[] = "incoming_low_water_mark";
56 DLL const char deliver_as_raw_binary[] = "deliver_as_raw_binary";
57 DLL const char default_failover_timeout[] = "default_failover_timeout";
58 
59 } // namespace option_names
60 
61 } // namespace yami
62 
63 #endif // YAMICPP_OPTION_NAMES_H_INCLUDED
Namespace devoted to everything related to YAMI4.
Definition: activity_statistics_monitor.cpp:27