GridGain C++
ssl_mode.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 GridGain Systems, Inc. and Contributors.
3  *
4  * Licensed under the GridGain Community Edition License (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
22 #ifndef _IGNITE_THIN_SSL_MODE
23 #define _IGNITE_THIN_SSL_MODE
24 
25 namespace ignite
26 {
27  namespace thin
28  {
30  struct SslMode
31  {
32  enum Type
33  {
35  DISABLE = 0,
36 
38  REQUIRE = 1
39  };
40  };
41  }
42 }
43 
44 #endif //_IGNITE_THIN_SSL_MODE
ignite::thin::SslMode::DISABLE
@ DISABLE
Do not try establish SSL/TLS connection.
Definition: ssl_mode.h:35
ignite
Ignite API.
Definition: cache.h:47
ignite::thin::SslMode
SSL Mode.
Definition: ssl_mode.h:30
ignite::thin::SslMode::REQUIRE
@ REQUIRE
Try to establish SSL/TLS connection.
Definition: ssl_mode.h:38
ignite::thin::SslMode::Type
Type
Definition: ssl_mode.h:32