summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ServerFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ServerFactory.cpp')
-rw-r--r--cpp/src/IcePack/ServerFactory.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/IcePack/ServerFactory.cpp b/cpp/src/IcePack/ServerFactory.cpp
index 30ccf7d2895..f2773d86573 100644
--- a/cpp/src/IcePack/ServerFactory.cpp
+++ b/cpp/src/IcePack/ServerFactory.cpp
@@ -59,10 +59,12 @@ public:
IcePack::ServerFactory::ServerFactory(const Ice::ObjectAdapterPtr& adapter,
const TraceLevelsPtr& traceLevels,
const Freeze::DBEnvironmentPtr& dbEnv,
- const ActivatorPtr& activator) :
+ const ActivatorPtr& activator,
+ const WaitQueuePtr& waitQueue) :
_adapter(adapter),
_traceLevels(traceLevels),
- _activator(activator)
+ _activator(activator),
+ _waitQueue(waitQueue)
{
Ice::PropertiesPtr properties = _adapter->getCommunicator()->getProperties();
_waitTime = properties->getPropertyAsIntWithDefault("IcePack.Node.WaitTime", 60);
@@ -181,6 +183,12 @@ IcePack::ServerFactory::createServerAndAdapters(const ServerDescription& descrip
return proxy;
}
+const WaitQueuePtr&
+IcePack::ServerFactory::getWaitQueue() const
+{
+ return _waitQueue;
+}
+
//
// Create a new server adapter servant with the given name and server
// and add it the evictor database.