// ********************************************************************** // // Copyright (c) 2003 - 2004 // ZeroC, Inc. // North Palm Beach, FL, USA // // 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 #include #include #include 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(network) = protocolPluginFacade->getNetworkTraceLevel(); networkCat = protocolPluginFacade->getNetworkTraceCategory(); PropertiesPtr properties = protocolPluginFacade->getCommunicator()->getProperties(); const_cast(security) = properties->getPropertyAsInt("IceSSL.Trace.Security"); } IceSSL::TraceLevels::~TraceLevels() { }