summaryrefslogtreecommitdiff
path: root/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp')
-rw-r--r--TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp
deleted file mode 100644
index 38b8604432e..00000000000
--- a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-// $Id$
-
-#include "test_i.h"
-
-int Simple_Server_count=0;
-
-Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb)
- : orb_ (CORBA::ORB::_duplicate (orb))
-{
-}
-
-void
-Simple_Server_i::sendCharSeq (const Char_Seq &, CORBA::Environment&)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- Simple_Server_count++;
- //ACE_DEBUG ((LM_DEBUG, "."));
-}
-
-void
-Simple_Server_i::sendOctetSeq (const Octet_Seq &, CORBA::Environment&)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- Simple_Server_count++;
- //ACE_DEBUG ((LM_DEBUG, "."));
-}
-
-CORBA::Long
-Simple_Server_i::get_number (CORBA::Long,
- CORBA::Environment&)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- CORBA::Long tmp = Simple_Server_count;
- Simple_Server_count = 0;
- return tmp;
-}
-
-void
-Simple_Server_i::shutdown (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- ACE_DEBUG ((LM_DEBUG,
- "Simple_Server_i::shutdown\n"));
- ACE_TRY
- {
- this->orb_->shutdown (0, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
- "Catched exception:");
- }
- ACE_ENDTRY;
-}