Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Big_AMI / ami_test_i.cpp
blob4965af06df92f1251bd4c886c6d868a196ad3435
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 CORBA::Long
23 AMI_Test_i::foo (CORBA::Long_out out_l,
24 CORBA::Long in_l,
25 const char* in_str,
26 const A::Payload &)
28 out_l = 931233;
30 if (TAO_debug_level > 0)
31 ACE_DEBUG ((LM_DEBUG,
32 "%N:%l:(%P:%t):AMI_Test_i::foo: %d %s\n",
33 in_l,
34 in_str));
36 return 931234;
39 void
40 AMI_Test_i::shutdown (void)
42 this->orb_->shutdown (0);