summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslTransceiver.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-04-26 02:53:33 +0000
committerMark Spruiell <mes@zeroc.com>2002-04-26 02:53:33 +0000
commit0d715a1edd4484c9b7074c9c3cb283d468a538bc (patch)
tree45934688c11aa189731ae51f07032050affd12ef /cpp/src/IceSSL/SslTransceiver.cpp
parentWin32 fix (diff)
downloadice-0d715a1edd4484c9b7074c9c3cb283d468a538bc.tar.bz2
ice-0d715a1edd4484c9b7074c9c3cb283d468a538bc.tar.xz
ice-0d715a1edd4484c9b7074c9c3cb283d468a538bc.zip
Renaming Ice.Trace.Security to IceSSL.Trace.Security Cleaning up IceSSL
dependencies on Ice core
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp19
1 files changed, 8 insertions, 11 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp
index f49fc49e32f..ebf5508e280 100644
--- a/cpp/src/IceSSL/SslTransceiver.cpp
+++ b/cpp/src/IceSSL/SslTransceiver.cpp
@@ -8,16 +8,14 @@
//
// **********************************************************************
-#include <IceSSL/OpenSSL.h>
-#include <IceSSL/SslConnection.h>
-#include <IceSSL/SslTransceiver.h>
-#include <Ice/Instance.h>
-#include <Ice/TraceLevels.h>
#include <Ice/Logger.h>
#include <Ice/Buffer.h>
#include <Ice/Network.h>
-#include <Ice/Exception.h>
-#include <sstream>
+#include <IceSSL/OpenSSL.h>
+#include <IceSSL/SslConnection.h>
+#include <IceSSL/SslTransceiver.h>
+#include <IceSSL/PluginBaseI.h>
+#include <IceSSL/TraceLevels.h>
using namespace std;
using namespace Ice;
@@ -85,12 +83,11 @@ IceSSL::SslTransceiver::toString() const
return fdToString(_fd);
}
-IceSSL::SslTransceiver::SslTransceiver(const InstancePtr& instance,
+IceSSL::SslTransceiver::SslTransceiver(const PluginBaseIPtr& plugin,
SOCKET fd,
const ConnectionPtr& sslConnection) :
- _instance(instance),
- _traceLevels(instance->traceLevels()),
- _logger(instance->logger()),
+ _traceLevels(plugin->getTraceLevels()),
+ _logger(plugin->getLogger()),
_fd(fd),
_sslConnection(sslConnection)
{