diff options
author | Mark Spruiell <mes@zeroc.com> | 2014-03-19 12:45:55 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2014-03-19 12:45:55 -0700 |
commit | cdcffbcc3c3c052afdeb772ff0167e7a90b525bb (patch) | |
tree | 4f16ee41ef7d33394c44e9db81e4d6cd89908250 /cpp/src/IceSSL/ConnectorI.cpp | |
parent | fixing testicedist.py for 5487 (diff) | |
download | ice-cdcffbcc3c3c052afdeb772ff0167e7a90b525bb.tar.bz2 ice-cdcffbcc3c3c052afdeb772ff0167e7a90b525bb.tar.xz ice-cdcffbcc3c3c052afdeb772ff0167e7a90b525bb.zip |
merging javascript branch
Diffstat (limited to 'cpp/src/IceSSL/ConnectorI.cpp')
-rw-r--r-- | cpp/src/IceSSL/ConnectorI.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/cpp/src/IceSSL/ConnectorI.cpp b/cpp/src/IceSSL/ConnectorI.cpp index fe75e4f12ea..fb9386d0a89 100644 --- a/cpp/src/IceSSL/ConnectorI.cpp +++ b/cpp/src/IceSSL/ConnectorI.cpp @@ -1,6 +1,6 @@ // ********************************************************************** // -// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. +// Copyright (c) 2003-2014 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. @@ -33,10 +33,10 @@ IceSSL::ConnectorI::connect() throw ex; } - if(_instance->networkTraceLevel() >= 2) + if(_instance->traceLevel() >= 2) { - Trace out(_logger, _instance->networkTraceCategory()); - out << "trying to establish ssl connection to " << toString(); + Trace out(_instance->logger(), _instance->traceCategory()); + out << "trying to establish " << _instance->protocol() << " connection to " << toString(); } try @@ -45,10 +45,10 @@ IceSSL::ConnectorI::connect() } catch(const Ice::LocalException& ex) { - if(_instance->networkTraceLevel() >= 2) + if(_instance->traceLevel() >= 2) { - Trace out(_logger, _instance->networkTraceCategory()); - out << "failed to establish ssl connection to " << toString() << "\n" << ex; + Trace out(_instance->logger(), _instance->traceCategory()); + out << "failed to establish " << _instance->protocol() << " connection to " << toString() << "\n" << ex; } throw; } @@ -57,7 +57,7 @@ IceSSL::ConnectorI::connect() Short IceSSL::ConnectorI::type() const { - return IceSSL::EndpointType; + return _instance->type(); } string @@ -133,7 +133,6 @@ IceSSL::ConnectorI::ConnectorI(const InstancePtr& instance, const string& host, const IceInternal::NetworkProxyPtr& proxy, Ice::Int timeout, const string& connectionId) : _instance(instance), - _logger(instance->communicator()->getLogger()), _host(host), _addr(addr), _proxy(proxy), |