summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ObjectAdapterFactory.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-09-11 20:33:06 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-09-11 20:33:06 +0000
commitaf019e080ac9319035abe899838bc6ff7bf7e435 (patch)
tree754643a46a0f0ef381b0a7596fc08a17dcda5cdf /cpp/src/Ice/ObjectAdapterFactory.cpp
parentFix bug in changeTimeout (the newEndpoints were not passed to the (diff)
downloadice-af019e080ac9319035abe899838bc6ff7bf7e435.tar.bz2
ice-af019e080ac9319035abe899838bc6ff7bf7e435.tar.xz
ice-af019e080ac9319035abe899838bc6ff7bf7e435.zip
Object adapter creation method changes, IceBox changes.
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterFactory.cpp')
-rw-r--r--cpp/src/Ice/ObjectAdapterFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ObjectAdapterFactory.cpp b/cpp/src/Ice/ObjectAdapterFactory.cpp
index 2d19064514e..ec29ed96bf7 100644
--- a/cpp/src/Ice/ObjectAdapterFactory.cpp
+++ b/cpp/src/Ice/ObjectAdapterFactory.cpp
@@ -31,7 +31,7 @@ IceInternal::ObjectAdapterFactory::shutdown()
}
ObjectAdapterPtr
-IceInternal::ObjectAdapterFactory::createObjectAdapter(const string& name, const string& endpts)
+IceInternal::ObjectAdapterFactory::createObjectAdapter(const string& name, const string& endpts, const string& id)
{
IceUtil::Mutex::Lock sync(*this);
@@ -41,7 +41,7 @@ IceInternal::ObjectAdapterFactory::createObjectAdapter(const string& name, const
return p->second;
}
- ObjectAdapterIPtr adapter = new ObjectAdapterI(_instance, _communicator, name, endpts);
+ ObjectAdapterIPtr adapter = new ObjectAdapterI(_instance, _communicator, name, endpts, id);
_adapters.insert(make_pair(name, adapter));
return adapter;
}