diff options
Diffstat (limited to 'TAO/performance-tests/Throughput/Receiver_Factory.cpp')
-rw-r--r-- | TAO/performance-tests/Throughput/Receiver_Factory.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/TAO/performance-tests/Throughput/Receiver_Factory.cpp b/TAO/performance-tests/Throughput/Receiver_Factory.cpp deleted file mode 100644 index 680c542f853..00000000000 --- a/TAO/performance-tests/Throughput/Receiver_Factory.cpp +++ /dev/null @@ -1,33 +0,0 @@ -// -// $Id$ -// -#include "Receiver_Factory.h" -#include "Receiver.h" - -ACE_RCSID(Throughput, Receiver_Factory, "$Id$") - -Receiver_Factory::Receiver_Factory (CORBA::ORB_ptr orb) - : orb_ (CORBA::ORB::_duplicate (orb)) -{ -} - -Test::Receiver_ptr -Receiver_Factory::create_receiver (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - Receiver *receiver_impl; - ACE_NEW_THROW_EX (receiver_impl, - Receiver, - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (Test::Receiver::_nil ()); - PortableServer::ServantBase_var transfer_ownership(receiver_impl); - - return receiver_impl->_this (ACE_TRY_ENV); -} - -void -Receiver_Factory::shutdown (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->orb_->shutdown (0, ACE_TRY_ENV); -} |