diff options
author | Jose <jose@zeroc.com> | 2017-03-16 16:11:24 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-03-16 16:11:24 +0100 |
commit | c6f4057a8975e2312d82f22af59f2069d2b5e8ab (patch) | |
tree | 1312f2c5798821dd8b4c583f30983542d9528790 /cpp/src/IceSSL/SecureTransportTransceiverI.h | |
parent | Removed C# Ice.BatchRequestInterceptor (ICE-7662) (diff) | |
download | ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.tar.bz2 ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.tar.xz ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.zip |
Fixed (ICE-7621) - Refactor IceSSL API to support multiple implementations
Diffstat (limited to 'cpp/src/IceSSL/SecureTransportTransceiverI.h')
-rw-r--r-- | cpp/src/IceSSL/SecureTransportTransceiverI.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/cpp/src/IceSSL/SecureTransportTransceiverI.h b/cpp/src/IceSSL/SecureTransportTransceiverI.h index 3053faab3e9..a73771eabc7 100644 --- a/cpp/src/IceSSL/SecureTransportTransceiverI.h +++ b/cpp/src/IceSSL/SecureTransportTransceiverI.h @@ -12,15 +12,13 @@ #include <IceSSL/Config.h> #include <IceSSL/InstanceF.h> -#include <IceSSL/SSLEngineF.h> +#include <IceSSL/SecureTransportEngineF.h> #include <IceSSL/Plugin.h> #include <Ice/Transceiver.h> #include <Ice/UniqueRef.h> #include <Ice/Network.h> -#ifdef ICE_USE_SECURE_TRANSPORT - #include <Security/Security.h> #include <Security/SecureTransport.h> #include <CoreFoundation/CoreFoundation.h> @@ -28,8 +26,8 @@ namespace IceSSL { -class ConnectorI; -class AcceptorI; +namespace SecureTransport +{ class TransceiverI : public IceInternal::Transceiver { @@ -58,11 +56,10 @@ private: TransceiverI(const InstancePtr&, const IceInternal::TransceiverPtr&, const std::string&, bool); virtual ~TransceiverI(); - friend class ConnectorI; - friend class AcceptorI; + friend class IceSSL::SecureTransport::SSLEngine; const InstancePtr _instance; - const SecureTransportEnginePtr _engine; + const SSLEnginePtr _engine; const std::string _host; const std::string _adapterName; const bool _incoming; @@ -89,8 +86,8 @@ private: }; typedef IceUtil::Handle<TransceiverI> TransceiverIPtr; -} +} // SecureTransport namespace end -#endif +} // IceSSL namespace end #endif |