summaryrefslogtreecommitdiff
path: root/cpp/src/Glacier2/Blobject.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-10-12 12:57:39 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-10-12 12:57:39 +0000
commit54c707f2442e32d4ef8850c5cdbaa59edd0222cd (patch)
treed728b03155fd3944490de032d9a209186d619600 /cpp/src/Glacier2/Blobject.cpp
parent- Distinguished between 64 bit and 32 bit Linux. (diff)
downloadice-54c707f2442e32d4ef8850c5cdbaa59edd0222cd.tar.bz2
ice-54c707f2442e32d4ef8850c5cdbaa59edd0222cd.tar.xz
ice-54c707f2442e32d4ef8850c5cdbaa59edd0222cd.zip
Fix bug 480 - default service identities
Diffstat (limited to 'cpp/src/Glacier2/Blobject.cpp')
-rw-r--r--cpp/src/Glacier2/Blobject.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/cpp/src/Glacier2/Blobject.cpp b/cpp/src/Glacier2/Blobject.cpp
index e85a1785be5..18d8d57db07 100644
--- a/cpp/src/Glacier2/Blobject.cpp
+++ b/cpp/src/Glacier2/Blobject.cpp
@@ -219,7 +219,14 @@ Glacier2::Blobject::invoke(ObjectPrx& proxy, const AMD_Object_ice_invokePtr& amd
{
out << " (not buffered)";
}
- out << "\nproxy = " << _communicator->proxyToString(proxy);
+ if(_reverse)
+ {
+ out << "\nidentity = " << identityToString(proxy->ice_getIdentity());
+ }
+ else
+ {
+ out << "\nproxy = " << _communicator->proxyToString(proxy);
+ }
out << "\noperation = " << current.operation;
out << "\ncontext = ";
Context::const_iterator q = current.ctx.begin();
@@ -251,7 +258,14 @@ Glacier2::Blobject::invoke(ObjectPrx& proxy, const AMD_Object_ice_invokePtr& amd
out << "reverse ";
}
out << "routing override";
- out << "\nproxy = " << _communicator->proxyToString(proxy);
+ if(_reverse)
+ {
+ out << "\nidentity = " << identityToString(proxy->ice_getIdentity());
+ }
+ else
+ {
+ out << "\nproxy = " << _communicator->proxyToString(proxy);
+ }
out << "\noperation = " << current.operation;
out << "\ncontext = ";
Context::const_iterator q = current.ctx.begin();