diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-06 16:31:14 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-06 16:31:14 +0000 |
commit | 40c72f91fdbb4f9cbfd4345170e25b4ec3da6a07 (patch) | |
tree | 7b394405f2d3562f9f563f0d22c7f433ca23bc1c /TAO/tests/AMI_Timeouts/timeout_i.cpp | |
parent | f30eefaaeb5790b92fa963239d842dfcba1abef4 (diff) | |
download | ATCD-40c72f91fdbb4f9cbfd4345170e25b4ec3da6a07.tar.gz |
ChangeLogTag:Tue Mar 06 08:29:28 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tests/AMI_Timeouts/timeout_i.cpp')
-rw-r--r-- | TAO/tests/AMI_Timeouts/timeout_i.cpp | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/TAO/tests/AMI_Timeouts/timeout_i.cpp b/TAO/tests/AMI_Timeouts/timeout_i.cpp index a088bc08b5e..77b6c195cd7 100644 --- a/TAO/tests/AMI_Timeouts/timeout_i.cpp +++ b/TAO/tests/AMI_Timeouts/timeout_i.cpp @@ -22,19 +22,18 @@ Timeout_i::Timeout_i (CORBA::ORB_ptr orb) { orb_ = CORBA::ORB::_duplicate (orb); -}; +} Timeout_i::~Timeout_i () { - -}; +} void Timeout_i::sendTimeToWait (CORBA::Long msec, CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { - ACE_DEBUG ((LM_DEBUG, + ACE_DEBUG ((LM_DEBUG, "Timeout_i::sendTimeToWait: invoked with msec = %d\n\n", msec)); @@ -46,7 +45,7 @@ Timeout_i::sendTimeToWait (CORBA::Long msec, ACE_Time_Value tv (0, msec * 1000); ACE_OS::sleep (tv); } -}; +} void Timeout_i::shutdown (CORBA::Environment &) @@ -57,8 +56,6 @@ Timeout_i::shutdown (CORBA::Environment &) "Timeout_i::shutdown: shut down ORB\n\n")); } - - // Reply Handler implementation TimeoutHandler_i::TimeoutHandler_i () @@ -68,12 +65,11 @@ TimeoutHandler_i::TimeoutHandler_i () timer_.reset (); timer_.start (); timer_.stop (); -}; +} TimeoutHandler_i::~TimeoutHandler_i () { - -}; +} void TimeoutHandler_i::sendTimeToWait (CORBA::Environment &) @@ -83,7 +79,7 @@ TimeoutHandler_i::sendTimeToWait (CORBA::Environment &) "reply")); reply_counter_++; timer_.stop (); -}; +} void TimeoutHandler_i::sendTimeToWait_excep (AMI_TimeoutExceptionHolder *, @@ -94,7 +90,7 @@ TimeoutHandler_i::sendTimeToWait_excep (AMI_TimeoutExceptionHolder *, "excep")); reply_excep_counter_++; timer_.stop (); -}; +} void TimeoutHandler_i::reset_reply_counter () |