summaryrefslogtreecommitdiff
path: root/TAO/tests/DSI_Gateway/test_dsi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DSI_Gateway/test_dsi.cpp')
-rw-r--r--TAO/tests/DSI_Gateway/test_dsi.cpp61
1 files changed, 0 insertions, 61 deletions
diff --git a/TAO/tests/DSI_Gateway/test_dsi.cpp b/TAO/tests/DSI_Gateway/test_dsi.cpp
deleted file mode 100644
index ca2968cc901..00000000000
--- a/TAO/tests/DSI_Gateway/test_dsi.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-// $Id$
-
-#include "test_dsi.h"
-#include "tao/debug.h"
-
-#if !defined(__ACE_INLINE__)
-#include "test_dsi.i"
-#endif /* __ACE_INLINE__ */
-
-ACE_RCSID(DSI_Gateway, test_dsi, "$Id$")
-
-void
-DSI_Simple_Server::invoke (CORBA::ServerRequest_ptr request,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- if (ACE_OS::strcmp ("shutdown", request->operation ()) == 0)
- {
- this->orb_->shutdown (0, ACE_TRY_ENV);
- }
-
- CORBA::NVList_ptr list;
- this->orb_->create_list (0, list, ACE_TRY_ENV);
- ACE_CHECK;
-
- request->arguments (list, ACE_TRY_ENV);
- ACE_CHECK;
-
- CORBA::Request_var target_request;
-
- this->target_->_create_request (0, // ctx
- request->operation (),
- list,
- 0, // result
- 0, // exception_list,
- 0, // context_list,
- target_request.inout (),
- 0,
- ACE_TRY_ENV);
- ACE_CHECK;
-
- target_request->_tao_lazy_evaluation (1);
-
- target_request->invoke (ACE_TRY_ENV);
- ACE_CHECK;
-}
-
-CORBA::RepositoryId
-DSI_Simple_Server::_primary_interface (const PortableServer::ObjectId &,
- PortableServer::POA_ptr,
- CORBA::Environment &)
- ACE_THROW_SPEC (())
-{
- return CORBA::string_dup ("IDL:Simple_Server:1.0");
-}
-
-PortableServer::POA_ptr
-DSI_Simple_Server::_default_POA (CORBA::Environment &)
-{
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}