diff options
Diffstat (limited to 'TAO/tests/Bug_3672_Regression/ami_test_i.cpp')
-rw-r--r-- | TAO/tests/Bug_3672_Regression/ami_test_i.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3672_Regression/ami_test_i.cpp b/TAO/tests/Bug_3672_Regression/ami_test_i.cpp new file mode 100644 index 00000000000..6e3a9ea50b7 --- /dev/null +++ b/TAO/tests/Bug_3672_Regression/ami_test_i.cpp @@ -0,0 +1,43 @@ + +//============================================================================= +/** + * @file ami_test_i.cpp + * + * $Id$ + * + * Implementation of the AMI Test interface. + * + * + * @author Alexander Babu Arulanthu <alex@cs.wustl.edu> + * @author Michael Kircher <Michael.Kircher@mchp.siemens.de> + */ +//============================================================================= + + +#include "ami_test_i.h" +#include "tao/debug.h" +#include "ace/OS_NS_unistd.h" + +ACE_RCSID(AMI, ami_test_i, "$Id$") + +AMI_Test_i::AMI_Test_i (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +CORBA::Long +AMI_Test_i::foo (CORBA::Long_out out_l) +{ + out_l = 931233; + + ACE_OS::sleep (10); + + return 931234; +} + +void +AMI_Test_i::shutdown (void) +{ + this->orb_->shutdown (0); +} + |