RCFProto

- Main Page
- Classes
- Files

- File List

All Classes Functions Typedefs
Enums.hpp
1
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2013, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 2.0
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18
19 #ifndef INCLUDE_RCF_ENUMS_HPP
20 #define INCLUDE_RCF_ENUMS_HPP
21
22 #include <RCF/Export.hpp>
23
24 namespace RCF {
25
27 enum TransportType
28 {
30 Tt_Unknown,
31
33 Tt_Tcp,
34
36 Tt_Udp,
37
39 Tt_Win32NamedPipe,
40
42 Tt_UnixNamedPipe,
43
45 Tt_Http,
46
48 Tt_Https,
49
51 Tt_InProcess
52 };
53
56 enum TransportProtocol
57 {
59 Tp_Unspecified,
60
62 Tp_Clear,
63
65 Tp_Ntlm,
66
68 Tp_Kerberos,
69
71 Tp_Negotiate,
72
74 Tp_Ssl
75 };
76
78 enum SslImplementation
79 {
81 Si_Schannel,
82
84 Si_OpenSsl
85 };
86
88 enum Win32CertificateLocation
89 {
91 Cl_CurrentUser,
92
94 Cl_LocalMachine
95 };
96
98 enum Win32CertificateStore
99 {
101 Cs_AddressBook,
102
104 Cs_AuthRoot,
105
107 Cs_CertificateAuthority,
108
110 Cs_Disallowed,
111
113 Cs_My,
114
116 Cs_Root,
117
119 Cs_TrustedPeople,
120
122 Cs_TrustedPublisher
123 };
124
125
126 enum CertificateImplementationType
127 {
128 Cit_Unspecified,
129 Cit_Win32,
130 Cit_X509
131 };
132
133 enum RemoteCallSemantics
134 {
135 Oneway,
136 Twoway
137 };
138
139 enum WireProtocol
140 {
141 Wp_None,
142 Wp_Http,
143 Wp_Https
144 };
145
146
147 RCF_EXPORT std::string getTransportProtocolName(TransportProtocol protocol);
148 RCF_EXPORT std::string getTransportTypeName(TransportType protocol);
149
150 } // namespace RCF
151
152 #endif // ! INCLUDE_RCF_ENUMS_HPP