RCFProto
 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 <string>
23 
24 #include <RCF/Export.hpp>
25 
26 namespace RCF {
27 
29  enum TransportType
30  {
32  Tt_Unknown,
33 
35  Tt_Tcp,
36 
38  Tt_Udp,
39 
41  Tt_Win32NamedPipe,
42 
44  Tt_UnixNamedPipe,
45 
47  Tt_Http,
48 
50  Tt_Https,
51 
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  enum AsyncOpType
147  {
148  None,
149  Wait,
150  Connect,
151  Write,
152  Read
153  };
154 
155  RCF_EXPORT std::string getTransportProtocolName(TransportProtocol protocol);
156  RCF_EXPORT std::string getTransportTypeName(TransportType protocol);
157 
158 } // namespace RCF
159 
160 #endif // ! INCLUDE_RCF_ENUMS_HPP