Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / HTIOP / AMI / ami_test_i.cpp
blob408b93022a5b0b8a7d0339507561baa6dce6cbe6
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"
18 AMI_Test_i::AMI_Test_i (CORBA::ORB_ptr orb)
19 : orb_ (CORBA::ORB::_duplicate (orb)),
20 number_ ((CORBA::Long) 931232),
21 yadda_ ((CORBA::Long) 140474)
25 CORBA::Long
26 AMI_Test_i::foo (CORBA::Long_out out_l,
27 CORBA::Long in_l,
28 const char* in_str)
30 out_l = 931233;
32 //if (TAO_debug_level > 0)
33 ACE_DEBUG ((LM_DEBUG,
34 "%N:%l:(%P:%t):AMI_Test_i::foo: %d %C\n",
35 in_l,
36 in_str));
38 if (in_l == 0)
40 ACE_DEBUG ((LM_DEBUG,
41 "Throwing Exception: A::DidTheRightThing\n"));
42 throw A::DidTheRightThing();
45 return 931234;
49 void
50 AMI_Test_i::shutdown ()
52 this->orb_->shutdown (false);
56 CORBA::Long
57 AMI_Test_i::yadda ()
59 ACE_DEBUG ((LM_DEBUG,
60 "%N:%l:(%P:%t):AMI_Test_i::(get_)yadda\n"));
61 return yadda_;
65 void
66 AMI_Test_i::yadda (CORBA::Long yadda)
68 ACE_DEBUG ((LM_DEBUG,
69 "%N:%l:(%P:%t):AMI_Test_i::(set_)yadda\n"));
70 yadda_ = yadda;