2 //=============================================================================
4 * @file Initiator_i.cpp
6 * This class implements the Object A of the
7 * Nested Upcalls - Triangle test.
9 * @author Michael Kircher
11 //=============================================================================
13 #include "tao/Exception.h"
14 #include "Initiator_i.h"
17 Initiator_i::Initiator_i (Object_A_ptr object_A_ptr
,
18 Object_B_ptr object_B_ptr
)
19 : object_A_var_ (Object_A::_duplicate (object_A_ptr
)),
20 object_B_var_ (Object_B::_duplicate (object_B_ptr
))
25 Initiator_i::~Initiator_i ()
30 Initiator_i::foo_object_B ()
33 "(%P|%t) BEGIN Initiator_i::foo_object_B ()\n"));
37 this->object_B_var_
->foo (this->object_A_var_
.in ());
39 "(%P|%t) Initiator_i::foo_object_B: Returned from call.\n"));
41 catch (const CORBA::Exception
& ex
)
43 ex
._tao_print_exception ("calling the server");
47 "(%P|%t) END Initiator_i::foo_object_B ()\n"));