diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-29 21:10:42 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-29 21:10:42 +0000 |
commit | 14e33369646f450af13418003d29d0721144321d (patch) | |
tree | ab3071b702e71455b797d71b7cea16c3a1edd514 /TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp | |
parent | 2956e635769e45475a3c67325bbfdb5fdf273b6f (diff) | |
download | ATCD-14e33369646f450af13418003d29d0721144321d.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE-4_6_10'.ACE-4_6_10
Diffstat (limited to 'TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp')
-rw-r--r-- | TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp deleted file mode 100644 index 30a0190a43c..00000000000 --- a/TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/NestedUpCalls/Triangle_Test -// -// = FILENAME -// Object_A_i.cpp -// -// = DESCRIPTION -// This class implements the Object A of the -// Nested Upcalls - Triangle test. -// -// = AUTHORS -// Michael Kircher -// -// ============================================================================ - -#include "tao/corba.h" -#include "Object_A_i.h" - -ACE_RCSID(Triangle_Test, Object_A_i, "$Id$") - -// CTOR -Object_A_i::Object_A_i (void) -: finish_two_way_call_ (0) -{ -} - -// DTOR -Object_A_i::~Object_A_i (void) -{ -} - - - -void -Object_A_i::foo (Initiator_ptr initiator_ptr, - CORBA::Environment &env) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) BEGIN Object_A_i::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_i::foo ()\n")); -} - -void -Object_A_i::finish (CORBA::Environment &env) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) BEGIN Object_A_i::finish ()\n")); - - this->finish_two_way_call_ = 1; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) END Object_A_i::finish ()\n")); - -} |