16 #ifndef __Glacier2_SSLInfo_h__
17 #define __Glacier2_SSLInfo_h__
33 #ifndef ICE_IGNORE_VERSION
34 # if ICE_INT_VERSION / 100 != 307
35 # error Ice version mismatch!
37 # if ICE_INT_VERSION % 100 >= 50
38 # error Beta header file detected
40 # if ICE_INT_VERSION % 100 < 10
41 # error Ice patch level mismatch!
46 # if defined(ICE_STATIC_LIBS)
48 # elif defined(GLACIER2_API_EXPORTS)
49 # define GLACIER2_API ICE_DECLSPEC_EXPORT
51 # define GLACIER2_API ICE_DECLSPEC_IMPORT
55 #ifdef ICE_CPP11_MAPPING // C++11 mapping
97 std::tuple<const ::std::string&, const int&, const ::std::string&, const int&, const ::std::string&, const ::Ice::StringSeq&> ice_tuple()
const
103 using Ice::operator<;
104 using Ice::operator<=;
105 using Ice::operator>;
106 using Ice::operator>=;
107 using Ice::operator==;
108 using Ice::operator!=;
119 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
120 static const int minWireSize = 12;
121 static const bool fixedLength =
false;
136 #else // C++98 mapping
184 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
185 static const int minWireSize = 12;
186 static const bool fixedLength =
false;
192 static void write(S* ostr, const ::Glacier2::SSLInfo& v)
194 ostr->write(v.remoteHost);
195 ostr->write(v.remotePort);
196 ostr->write(v.localHost);
197 ostr->write(v.localPort);
198 ostr->write(v.cipher);
199 ostr->write(v.certs);