summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp')
-rw-r--r--TAO/tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp69
1 files changed, 0 insertions, 69 deletions
diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp
deleted file mode 100644
index 1adba85321e..00000000000
--- a/TAO/tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp
+++ /dev/null
@@ -1,69 +0,0 @@
-// -*- c++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/NestedUpCalls/Triangle_Test
-//
-// = FILENAME
-// Object_B_Impl.cpp
-//
-// = DESCRIPTION
-// This class implements the Object B of the
-// Nested Upcalls - Triangle test.
-//
-// = AUTHORS
-// Michael Kircher
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "Object_B_Impl.h"
-
-// CTOR
-Object_B_Impl::Object_B_Impl (void)
-{
-}
-
-// DTOR
-Object_B_Impl::~Object_B_Impl (void)
-{
-}
-
-
-
-void
-Object_B_Impl::foo (Object_A_ptr object_A_ptr,
- CORBA::Environment &env)
-{
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) BEGIN Object_B_Impl::foo ()\n"));
-
- TAO_TRY
- {
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) BEGIN Object_B_Impl::foo: Trying to call Object A\n"));
-
- object_A_ptr->finish (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Start to wait on this variable, it is set to true
- // by the method finish ()
- long int usecs = 500000;
- ACE_Time_Value pause(0, usecs);
-
- ACE_OS::sleep(pause);
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("calling the initiator");
- }
- TAO_ENDTRY;
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) END Object_B_Impl::foo ()\n"));
-}
-