diff options
Diffstat (limited to 'TAO/examples/Callback_Quoter/Consumer_i.cpp')
-rw-r--r-- | TAO/examples/Callback_Quoter/Consumer_i.cpp | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/TAO/examples/Callback_Quoter/Consumer_i.cpp b/TAO/examples/Callback_Quoter/Consumer_i.cpp deleted file mode 100644 index d73f3ab9cb5..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_i.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_i.cpp -// -// = DESCRIPTION -// Implements the Consumer_i class, which is used by the -// callback quoter client. -// -// = AUTHOR -// Kirthika Parameswaran <kirthika@cs.wustl.edu> -// -// =========================================================== - -#include "Consumer_i.h" - -Consumer_i::Consumer_i (void) -{ -} - -Consumer_i::~Consumer_i (void) -{ -} - -void -Consumer_i::push (const Callback_Quoter::Info& data, - CORBA::Environment &) -{ - // On getting the needed information you now proceed to the next - // step, which could be obtaining the shares. - this->done_ = 1; - - ACE_DEBUG ((LM_DEBUG, - "Selling 10,000 %s shares at %d!!\n", - data.stock_name.in (), - data.value)); -} - -void -Consumer_i::shutdown (CORBA::Environment &) -{ - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - -void -Consumer_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} |