// ********************************************************************** // // Copyright (c) 2001 // Mutable Realms, Inc. // Huntsville, AL, USA // // All Rights Reserved // // ********************************************************************** #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() { }