diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tests/Bug_2417_Regression/subscriber_impl.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tests/Bug_2417_Regression/subscriber_impl.cpp')
-rw-r--r-- | TAO/tests/Bug_2417_Regression/subscriber_impl.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/TAO/tests/Bug_2417_Regression/subscriber_impl.cpp b/TAO/tests/Bug_2417_Regression/subscriber_impl.cpp deleted file mode 100644 index 61f25e23349..00000000000 --- a/TAO/tests/Bug_2417_Regression/subscriber_impl.cpp +++ /dev/null @@ -1,45 +0,0 @@ -// $Id$ - -#include "subscriber_impl.h" -#include "ace/OS_NS_stdio.h" - -Subscriber_impl::Subscriber_impl(CORBA::ORB_ptr orb) -: orb_ (CORBA::ORB::_duplicate (orb)) -, count(0) -{ -} - -Subscriber_impl::~Subscriber_impl() -{ -} - -void -Subscriber_impl::onData ( - ::CORBA::Double - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) -{ - ++count; - if (count > 100) - shutdown(); -} - -::CORBA::Boolean -Subscriber_impl::isAlive ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException - )) -{ - return true; -} - -void Subscriber_impl::shutdown() -{ - this->orb_->shutdown (0); -} - |