diff options
Diffstat (limited to 'TAO/tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp')
-rw-r--r-- | TAO/tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp deleted file mode 100644 index 7cf28038e2e..00000000000 --- a/TAO/tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/NestedUpCalls/Triangle_Test -// -// = FILENAME -// Object_A_Impl.cpp -// -// = DESCRIPTION -// This class implements the Object A of the -// Nested Upcalls - Triangle test. -// -// = AUTHORS -// Michael Kircher -// -// ============================================================================ - -#include "tao/corba.h" -#include "Object_A_Impl.h" - -// CTOR -Object_A_Impl::Object_A_Impl (void) -: finish_two_way_call_ (0) -{ -} - -// DTOR -Object_A_Impl::~Object_A_Impl (void) -{ -} - - - -void -Object_A_Impl::foo (Initiator_ptr initiator_ptr, - CORBA::Environment &env) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) BEGIN Object_A_Impl::foo ()\n")); - - TAO_TRY - { - initiator_ptr->foo_object_B (TAO_TRY_ENV); - TAO_CHECK_ENV; - - while (!this->finish_two_way_call_) - TAO_ORB_Core_instance ()->reactor ()->handle_events (); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("calling the initiator"); - } - TAO_ENDTRY; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) END Object_A_Impl::foo ()\n")); -} - -void -Object_A_Impl::finish (CORBA::Environment &env) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) BEGIN Object_A_Impl::finish ()\n")); - - this->finish_two_way_call_ = 1; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) END Object_A_Impl::finish ()\n")); - -}
\ No newline at end of file |