summaryrefslogtreecommitdiff
path: root/cpp/test/Glacier2/sessionControl/SessionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Glacier2/sessionControl/SessionI.cpp')
-rw-r--r--cpp/test/Glacier2/sessionControl/SessionI.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/test/Glacier2/sessionControl/SessionI.cpp b/cpp/test/Glacier2/sessionControl/SessionI.cpp
index 7af199803dc..23338612e6e 100644
--- a/cpp/test/Glacier2/sessionControl/SessionI.cpp
+++ b/cpp/test/Glacier2/sessionControl/SessionI.cpp
@@ -19,12 +19,6 @@ SessionManagerI::create(const string&, const Glacier2::SessionControlPrx& sessio
return Glacier2::SessionPrx::uncheckedCast(current.adapter->addWithUUID(new SessionI(sessionControl)));
}
-void
-SessionManagerI::shutdown(const Ice::Current& current)
-{
- current.adapter->getCommunicator()->shutdown();
-}
-
SessionI::SessionI(const Glacier2::SessionControlPrx& sessionControl) :
_sessionControl(sessionControl)
{
@@ -38,6 +32,12 @@ SessionI::destroySession(const Ice::Current& current)
}
void
+SessionI::shutdown(const Ice::Current& current)
+{
+ current.adapter->getCommunicator()->shutdown();
+}
+
+void
SessionI::destroy(const Ice::Current& current)
{
current.adapter->remove(current.id);