diff options
Diffstat (limited to 'TAO/tests/AMI/ami_test_i.cpp')
-rw-r--r-- | TAO/tests/AMI/ami_test_i.cpp | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/TAO/tests/AMI/ami_test_i.cpp b/TAO/tests/AMI/ami_test_i.cpp deleted file mode 100644 index b6e67d09461..00000000000 --- a/TAO/tests/AMI/ami_test_i.cpp +++ /dev/null @@ -1,90 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/AMI -// -// = FILENAME -// ami_test_i.cpp -// -// = DESCRIPTION -// Implementation of the AMI Test interface. -// -// = AUTHOR -// Alexander Babu Arulanthu <alex@cs.wustl.edu>, -// Michael Kircher <Michael.Kircher@mchp.siemens.de> -// -// ============================================================================ - -#include "ami_test_i.h" -#include "tao/debug.h" - -ACE_RCSID(AMI, ami_test_i, "$Id$") - -AMI_Test_i::AMI_Test_i (CORBA::ORB_ptr orb) - : orb_ (CORBA::ORB::_duplicate (orb)), - number_ ((CORBA::Long) 931232), - yadda_ ((CORBA::Long) 140474) -{ -} - -CORBA::Long -AMI_Test_i::foo (CORBA::Long_out out_l, - CORBA::Long in_l, - const char* in_str, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - out_l = 931233; - - //if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "%N:%l:(%P:%t):AMI_Test_i::foo: %d %s\n", - in_l, - in_str)); - - if (in_l == 0) - { - ACE_DEBUG ((LM_DEBUG, - "Throwing Exception: DidNotWork\n")); - ACE_THROW_RETURN (A::DidNotWork(), 0); - } - - return 931234; -} - - - -void -AMI_Test_i::shutdown (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->orb_->shutdown (0); -} - - -CORBA::Long -AMI_Test_i::yadda (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - // if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "%N:%l:(%P:%t):AMI_Test_i::(get_)yadda\n")); - return yadda_; -} - - -void -AMI_Test_i::yadda (CORBA::Long yadda, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - // if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "%N:%l:(%P:%t):AMI_Test_i::(set_)yadda\n")); - yadda_ = yadda; -}; |