Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_3801_Regression / ami_test_i.cpp
blob63fb1d391e388524a1036bc4bcb62ac4259c2ec8
2 //=============================================================================
3 /**
4 * @file ami_test_i.cpp
6 * Implementation of the AMI Test interface.
8 * @author Alexander Babu Arulanthu <alex@cs.wustl.edu>
9 * @author Michael Kircher <Michael.Kircher@mchp.siemens.de>
11 //=============================================================================
14 #include "ami_test_i.h"
15 #include "tao/debug.h"
17 AMI_Test_i::AMI_Test_i (CORBA::ORB_ptr orb)
18 : orb_ (CORBA::ORB::_duplicate (orb))
22 void
23 AMI_Test_i::inout_arg_test (char *&)
25 // No action, this operation is to test code generation for INOUT
26 // args in AMI operations.
29 void
30 AMI_Test_i::shutdown ()
32 this->orb_->shutdown (false);
35 CORBA::Long
36 AMI_Test_i::yadda ()
38 ACE_DEBUG ((LM_DEBUG,
39 "%N:%l:(%P:%t):AMI_Test_i::(get_)yadda\n"));
40 throw ::A::DidTheRightThingB (42, "Hello world");
43 void
44 AMI_Test_i::yadda (CORBA::Long)
46 ACE_DEBUG ((LM_DEBUG,
47 "%N:%l:(%P:%t):AMI_Test_i::(set_)yadda\n"));
48 throw ::A::DidTheRightThing (42, "Hello world");
51 CORBA::Long
52 AMI_Test_i::dadda ()
54 ACE_DEBUG ((LM_DEBUG,
55 "%N:%l:(%P:%t):AMI_Test_i::(get_)dadda\n"));
56 throw ::A::DidTheRightThing (42, "Hello world");