summaryrefslogtreecommitdiff
path: root/cpp/src/Glacier/ClientBlobject.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-01-14 22:39:58 +0000
committerMarc Laukien <marc@zeroc.com>2002-01-14 22:39:58 +0000
commitc0c6c0b98b0819f63cc6927a7041034ee48f481d (patch)
tree4b81109e1b222055020bec10ad4e2f2841454982 /cpp/src/Glacier/ClientBlobject.cpp
parentglacier integration (diff)
downloadice-c0c6c0b98b0819f63cc6927a7041034ee48f481d.tar.bz2
ice-c0c6c0b98b0819f63cc6927a7041034ee48f481d.tar.xz
ice-c0c6c0b98b0819f63cc6927a7041034ee48f481d.zip
router fixes
Diffstat (limited to 'cpp/src/Glacier/ClientBlobject.cpp')
-rw-r--r--cpp/src/Glacier/ClientBlobject.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpp/src/Glacier/ClientBlobject.cpp b/cpp/src/Glacier/ClientBlobject.cpp
index bff9072f25a..5d956bb984a 100644
--- a/cpp/src/Glacier/ClientBlobject.cpp
+++ b/cpp/src/Glacier/ClientBlobject.cpp
@@ -25,6 +25,11 @@ Glacier::ClientBlobject::ClientBlobject(const CommunicatorPtr& communicator,
_traceLevel = atoi(properties->getProperty("Glacier.Trace.Client").c_str());
}
+Glacier::ClientBlobject::~ClientBlobject()
+{
+ assert(!_communicator);
+}
+
void
Glacier::ClientBlobject::destroy()
{
@@ -60,6 +65,16 @@ Glacier::ClientBlobject::ice_invoke(const std::vector<Byte>& inParams, std::vect
proxy = proxy->ice_oneway();
}
+ if (_traceLevel >= 2)
+ {
+ ostringstream s;
+ s << "routing to:\n"
+ << "proxy = " << _communicator->proxyToString(proxy) << '\n'
+ << "operation = " << current.operation << '\n'
+ << "nonmutating = " << (current.nonmutating ? "true" : "false");
+ _logger->trace("Glacier", s.str());
+ }
+
proxy->ice_invoke(current.operation, current.nonmutating, inParams, outParams, current.context);
}
catch (const Exception& ex)