diff options
Diffstat (limited to 'cpp/src/IceSSL/TraceLevels.cpp')
-rw-r--r-- | cpp/src/IceSSL/TraceLevels.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/cpp/src/IceSSL/TraceLevels.cpp b/cpp/src/IceSSL/TraceLevels.cpp deleted file mode 100644 index 64012d17472..00000000000 --- a/cpp/src/IceSSL/TraceLevels.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#include <IceSSL/TraceLevels.h> -#include <Ice/Communicator.h> -#include <Ice/Properties.h> -#include <Ice/ProtocolPluginFacade.h> - -using namespace std; -using namespace Ice; - -void IceInternal::incRef(IceSSL::TraceLevels* p) { p->__incRef(); } -void IceInternal::decRef(IceSSL::TraceLevels* p) { p->__decRef(); } - -IceSSL::TraceLevels::TraceLevels(const IceInternal::ProtocolPluginFacadePtr& protocolPluginFacade) : - network(0), - security(0), - securityCat("Security") -{ - const_cast<int&>(network) = protocolPluginFacade->getNetworkTraceLevel(); - networkCat = protocolPluginFacade->getNetworkTraceCategory(); - - PropertiesPtr properties = protocolPluginFacade->getCommunicator()->getProperties(); - const_cast<int&>(security) = properties->getPropertyAsInt("IceSSL.Trace.Security"); -} - -IceSSL::TraceLevels::~TraceLevels() -{ -} |