summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/session/SessionFactoryI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2005-04-19 12:46:41 +0000
committerMarc Laukien <marc@zeroc.com>2005-04-19 12:46:41 +0000
commit8e8f98c8fb212e38622e22e70d880d1ec5c06c2a (patch)
tree58e08d7c52d7b5d681836eb2b4fc7c4880524bff /cpp/demo/Ice/session/SessionFactoryI.cpp
parentFix (diff)
downloadice-8e8f98c8fb212e38622e22e70d880d1ec5c06c2a.tar.bz2
ice-8e8f98c8fb212e38622e22e70d880d1ec5c06c2a.tar.xz
ice-8e8f98c8fb212e38622e22e70d880d1ec5c06c2a.zip
comments
Diffstat (limited to 'cpp/demo/Ice/session/SessionFactoryI.cpp')
-rwxr-xr-xcpp/demo/Ice/session/SessionFactoryI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Ice/session/SessionFactoryI.cpp b/cpp/demo/Ice/session/SessionFactoryI.cpp
index 66d27f083e8..03fa652e862 100755
--- a/cpp/demo/Ice/session/SessionFactoryI.cpp
+++ b/cpp/demo/Ice/session/SessionFactoryI.cpp
@@ -7,7 +7,7 @@
//
// **********************************************************************
-#include <Ice/Ice.h>
+#include <Ice/Ice.h> // XXX Get rid of this, SessionFactoryI.cpp must include this.
#include <SessionFactoryI.h>
#include <ReapThread.h>
@@ -25,7 +25,7 @@ SessionFactoryI::~SessionFactoryI()
SessionPrx
SessionFactoryI::create(const Ice::Current& c)
{
- Lock sync(*this);
+ Lock sync(*this); // XXX What is the mutex lock needed for?
SessionIPtr session = new SessionI;
SessionPrx proxy = SessionPrx::uncheckedCast(c.adapter->addWithUUID(session));
@@ -34,7 +34,7 @@ SessionFactoryI::create(const Ice::Current& c)
}
void
-SessionFactoryI::shutdown(const ::Ice::Current& c)
+SessionFactoryI::shutdown(const Ice::Current& c)
{
cout << "Shutting down..." << endl;
c.adapter->getCommunicator()->shutdown();