summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Communicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/Communicator.cpp')
-rwxr-xr-xcppe/src/IceE/Communicator.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/cppe/src/IceE/Communicator.cpp b/cppe/src/IceE/Communicator.cpp
index e3089448f26..8f406a4f733 100755
--- a/cppe/src/IceE/Communicator.cpp
+++ b/cppe/src/IceE/Communicator.cpp
@@ -116,10 +116,16 @@ Ice::Communicator::createObjectAdapterWithRouter(const string& name, const Route
#endif
+void
+Ice::Communicator::setDefaultContext(const Context& ctx)
+{
+ _instance->setDefaultContext(ctx);
+}
+
Ice::Context
Ice::Communicator::getDefaultContext() const
{
- return _instance->initializationData().defaultContext;
+ return _instance->getDefaultContext()->getValue();
}
PropertiesPtr