diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-05-29 14:02:22 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-05-29 14:02:22 +0000 |
commit | d7b9980a65e7c471285b058927e148c3e4ffb25e (patch) | |
tree | 8427763f234a837d3f720a60d6d44e4fec8620bc /cpp/src | |
parent | Fix (diff) | |
download | ice-d7b9980a65e7c471285b058927e148c3e4ffb25e.tar.bz2 ice-d7b9980a65e7c471285b058927e148c3e4ffb25e.tar.xz ice-d7b9980a65e7c471285b058927e148c3e4ffb25e.zip |
Fixed session test failures.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceGrid/Topics.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/Topics.cpp b/cpp/src/IceGrid/Topics.cpp index 47795502db5..0151bfca666 100644 --- a/cpp/src/IceGrid/Topics.cpp +++ b/cpp/src/IceGrid/Topics.cpp @@ -95,7 +95,7 @@ NodeObserverTopic::NodeObserverTopic(const IceStorm::TopicManagerPrx& topicManag // which can't be marshalled. // const_cast<IceStorm::TopicPrx&>(_topic) = IceStorm::TopicPrx::uncheckedCast(t->ice_collocationOptimized(true)); - const_cast<NodeObserverPrx&>(_publisher) = NodeObserverPrx::uncheckedCast(_topic->getPublisher()->ice_oneway()); + const_cast<NodeObserverPrx&>(_publisher) = NodeObserverPrx::uncheckedCast(_topic->getPublisher()); } void @@ -159,7 +159,7 @@ NodeObserverTopic::updateServer(const string& node, const ServerDynamicInfo& ser { servers.push_back(server); } - + _publisher->updateServer(node, server); } @@ -262,8 +262,7 @@ RegistryObserverTopic::RegistryObserverTopic(const IceStorm::TopicManagerPrx& to // which can't be marshalled. // const_cast<IceStorm::TopicPrx&>(_topic) = IceStorm::TopicPrx::uncheckedCast(t->ice_collocationOptimized(true)); - const_cast<RegistryObserverPrx&>(_publisher) = - RegistryObserverPrx::uncheckedCast(_topic->getPublisher()->ice_oneway()); + const_cast<RegistryObserverPrx&>(_publisher) = RegistryObserverPrx::uncheckedCast(_topic->getPublisher()); } void |