diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-09-11 12:33:02 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-09-11 12:33:02 +0000 |
commit | 22056550f5f34cc2ee1cd28a23fd40545c566c4b (patch) | |
tree | dcd27d328d2e11f09924a407cc5fb08dfac32d8d /cpp/src/IceSSL/OpenSSLPluginI.cpp | |
parent | fixed retry bug (diff) | |
download | ice-22056550f5f34cc2ee1cd28a23fd40545c566c4b.tar.bz2 ice-22056550f5f34cc2ee1cd28a23fd40545c566c4b.tar.xz ice-22056550f5f34cc2ee1cd28a23fd40545c566c4b.zip |
Removed the Connection classes, added the new SslTransceiver hierarchy,
cleaned up a lot of code.
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLPluginI.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp index b5d6c32ccf8..daeb1590a60 100644 --- a/cpp/src/IceSSL/OpenSSLPluginI.cpp +++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp @@ -22,7 +22,7 @@ #include <IceSSL/ConfigParser.h> #include <IceSSL/OpenSSLJanitors.h> #include <IceSSL/OpenSSLUtils.h> -#include <IceSSL/SslConnectionOpenSSL.h> +#include <IceSSL/SslTransceiver.h> #include <IceSSL/DefaultCertificateVerifier.h> #include <IceSSL/SingleCertificateVerifier.h> #include <IceSSL/SslEndpoint.h> @@ -152,8 +152,8 @@ IceSSL::SslLockKeeper::~SslLockKeeper() // // PluginI implementation // -IceSSL::ConnectionPtr -IceSSL::OpenSSL::PluginI::createConnection(ContextType connectionType, int socket) +IceSSL::SslTransceiverPtr +IceSSL::OpenSSL::PluginI::createTransceiver(ContextType connectionType, int socket) { IceUtil::RecMutex::Lock sync(_configMutex); @@ -172,18 +172,18 @@ IceSSL::OpenSSL::PluginI::createConnection(ContextType connectionType, int socke configure(connectionType); } - IceSSL::ConnectionPtr connection; + IceSSL::SslTransceiverPtr transceiver; if(connectionType == Client) { - connection = _clientContext.createConnection(socket, this); + transceiver = _clientContext.createTransceiver(socket, this); } else if(connectionType == Server) { - connection = _serverContext.createConnection(socket, this); + transceiver = _serverContext.createTransceiver(socket, this); } - return connection; + return transceiver; } bool |