diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-03-04 18:07:53 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-03-04 18:07:53 +0000 |
commit | 822c8cab74ca71f11ab15574b815d759b994b26d (patch) | |
tree | 8b38b127cf03d36e0513b2cd77806f0c7bd27019 /TAO/tests/Smart_Proxies | |
parent | b1475fca85c77e475e99206a1d49ca5a8db6c12e (diff) | |
download | ATCD-822c8cab74ca71f11ab15574b815d759b994b26d.tar.gz |
ChangeLogTag:Sun Mar 04 10:02:18 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tests/Smart_Proxies')
-rw-r--r-- | TAO/tests/Smart_Proxies/Benchmark/server.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/TAO/tests/Smart_Proxies/Benchmark/server.cpp b/TAO/tests/Smart_Proxies/Benchmark/server.cpp index 07341248d62..cfbd8c7e0b1 100644 --- a/TAO/tests/Smart_Proxies/Benchmark/server.cpp +++ b/TAO/tests/Smart_Proxies/Benchmark/server.cpp @@ -49,7 +49,7 @@ Test_i::Test_i (CORBA::ORB_ptr orb) } CORBA::Short -Test_i::box_prices (CORBA::Environment &ACE_TRY_ENV) +Test_i::box_prices (CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { return 125; @@ -57,17 +57,17 @@ Test_i::box_prices (CORBA::Environment &ACE_TRY_ENV) CORBA::Long Test_i::tickets (CORBA::Short number, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { return 125 * number; } void -Test_i::shutdown (CORBA::Environment &) +Test_i::shutdown (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { - this->orb_->shutdown (); + this->orb_->shutdown (ACE_TRY_ENV); } static const char *ior_output_file = 0; @@ -159,11 +159,9 @@ main (int argc, char *argv[]) poa_manager->activate (ACE_TRY_ENV); ACE_TRY_CHECK; - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "orb->run"), - -1); + orb->run (ACE_TRY_ENV); + ACE_TRY_CHECK; + ACE_DEBUG ((LM_DEBUG, "event loop finished\n")); |