summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/AdminSessionI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-17 15:48:26 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-17 15:48:26 +0100
commitcade94b03f44c09a65542d58746e111a997477c1 (patch)
tree47c62bd60c8fa62587c271d5e16de711bf973243 /cpp/src/IceGrid/AdminSessionI.cpp
parentAdded OS X Frameworks (diff)
downloadice-cade94b03f44c09a65542d58746e111a997477c1.tar.bz2
ice-cade94b03f44c09a65542d58746e111a997477c1.tar.xz
ice-cade94b03f44c09a65542d58746e111a997477c1.zip
Fixed ICE-4968 - Support for 1.0 observers with IceGrid
Diffstat (limited to 'cpp/src/IceGrid/AdminSessionI.cpp')
-rw-r--r--cpp/src/IceGrid/AdminSessionI.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/IceGrid/AdminSessionI.cpp b/cpp/src/IceGrid/AdminSessionI.cpp
index 8cabcba8fee..f201d595148 100644
--- a/cpp/src/IceGrid/AdminSessionI.cpp
+++ b/cpp/src/IceGrid/AdminSessionI.cpp
@@ -185,11 +185,11 @@ AdminSessionI::setObserversByIdentity(const Ice::Identity& registryObserver,
throw ex;
}
- setupObserverSubscription(RegistryObserverTopicName, toProxy(registryObserver, current.con));
- setupObserverSubscription(NodeObserverTopicName, toProxy(nodeObserver, current.con));
- setupObserverSubscription(ApplicationObserverTopicName, toProxy(appObserver, current.con));
- setupObserverSubscription(AdapterObserverTopicName, toProxy(adapterObserver, current.con));
- setupObserverSubscription(ObjectObserverTopicName, toProxy(objectObserver, current.con));
+ setupObserverSubscription(RegistryObserverTopicName, toProxy(registryObserver, current.con, current.encoding));
+ setupObserverSubscription(NodeObserverTopicName, toProxy(nodeObserver, current.con, current.encoding));
+ setupObserverSubscription(ApplicationObserverTopicName, toProxy(appObserver, current.con, current.encoding));
+ setupObserverSubscription(AdapterObserverTopicName, toProxy(adapterObserver, current.con, current.encoding));
+ setupObserverSubscription(ObjectObserverTopicName, toProxy(objectObserver, current.con, current.encoding));
}
@@ -335,9 +335,9 @@ AdminSessionI::setupObserverSubscription(TopicName name, const Ice::ObjectPrx& o
}
Ice::ObjectPrx
-AdminSessionI::toProxy(const Ice::Identity& id, const Ice::ConnectionPtr& connection)
+AdminSessionI::toProxy(const Ice::Identity& id, const Ice::ConnectionPtr& connection, const Ice::EncodingVersion& v)
{
- return id.name.empty() ? Ice::ObjectPrx() : connection->createProxy(id);
+ return id.name.empty() ? Ice::ObjectPrx() : connection->createProxy(id)->ice_encodingVersion(v);
}
FileIteratorPrx