summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/adapterDeactivation/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/test/IceE/adapterDeactivation/TestI.cpp')
-rw-r--r--cppe/test/IceE/adapterDeactivation/TestI.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/cppe/test/IceE/adapterDeactivation/TestI.cpp b/cppe/test/IceE/adapterDeactivation/TestI.cpp
deleted file mode 100644
index 6ec35fbac26..00000000000
--- a/cppe/test/IceE/adapterDeactivation/TestI.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice-E is licensed to you under the terms described in the
-// ICEE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#include <IceE/IceE.h>
-#include <TestI.h>
-
-using namespace std;
-using namespace Ice;
-
-void
-TestI::transient(const Current& current)
-{
- CommunicatorPtr communicator = current.adapter->getCommunicator();
-
- ObjectAdapterPtr adapter =
- communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default -p 9999");
- adapter->activate();
- adapter->deactivate();
- adapter->waitForDeactivate();
-}
-
-void
-TestI::deactivate(const Current& current)
-{
- current.adapter->deactivate();
- IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(1));
-}