diff options
Diffstat (limited to 'cpp/src/Ice/SslTransceiver.h')
-rw-r--r-- | cpp/src/Ice/SslTransceiver.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/cpp/src/Ice/SslTransceiver.h b/cpp/src/Ice/SslTransceiver.h index d6eb7484524..ad2fce1e167 100644 --- a/cpp/src/Ice/SslTransceiver.h +++ b/cpp/src/Ice/SslTransceiver.h @@ -11,6 +11,10 @@ #ifndef ICE_SSL_TRANSCEIVER_H #define ICE_SSL_TRANSCEIVER_H +#ifdef SSL_EXTENSION
+#include <Ice/SslConnection.h>
+#endif
+
#include <Ice/InstanceF.h> #include <Ice/TraceLevelsF.h> #include <Ice/LoggerF.h> @@ -19,6 +23,10 @@ namespace IceInternal { +#ifdef SSL_EXTENSION
+using IceSecurity::Ssl::Connection;
+#endif
+
class SslConnector; class SslAcceptor; @@ -35,8 +43,14 @@ public: private: - SslTransceiver(const InstancePtr&, int); - virtual ~SslTransceiver(); +#ifdef SSL_EXTENSION
+ SslTransceiver(const InstancePtr&, int, Connection*);
+#else
+ SslTransceiver(const InstancePtr&, int);
+#endif
+
+ virtual ~SslTransceiver();
+ void cleanUpSSL();
friend class SslConnector; friend class SslAcceptor; @@ -46,6 +60,10 @@ private: ::Ice::LoggerPtr _logger; fd_set _rFdSet; fd_set _wFdSet; +
+#ifdef SSL_EXTENSION
+ Connection* _sslConnection;
+#endif
}; } |