From c05a3903e16b8cbc2e2e4aaacb19ad1d3ed508b7 Mon Sep 17 00:00:00 2001 From: bala Date: Mon, 25 Nov 2002 20:11:46 +0000 Subject: ChangeLogTag: Mon Nov 25 15:09:50 2002 Balachandran Natarajan --- TAO/ChangeLog | 8 +++++ TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp | 46 +++++++++++++++++++++++++++++ TAO/docs/tutorials/Quoter/AMI/Handler_i.h | 16 ++++++++++ 3 files changed, 70 insertions(+) diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 5d1b6d3f62d..936f5ada44e 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Mon Nov 25 15:09:50 2002 Balachandran Natarajan + + * docs/tutorials/Quoter/AMI/Handler_i.cpp: + * docs/tutorials/Quoter/AMI/Handler_i.h: Fixed compile errors by + adding dummy implementations for the base interface methods in + interface Stock{}; This shoudl fix compile errors on many + platforms. + Mon Nov 25 12:25:47 2002 Pradeep Gore * orbsvcs/orbsvcs/Event_Forwarder.idl: diff --git a/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp b/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp index c21450fa63a..269bb42e145 100644 --- a/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp +++ b/TAO/docs/tutorials/Quoter/AMI/Handler_i.cpp @@ -33,3 +33,49 @@ Single_Query_Stock_Handler_i:: << endl; (*this->response_count_)++; } + + +void +Single_Query_Stock_Handler_i::get_symbol (const char *) + throw (CORBA::SystemException) +{ + throw CORBA::NO_IMPLEMENT (); +} + +void +Single_Query_Stock_Handler_i:: + get_symbol_excep (Quoter::AMI_StockExceptionHolder *) + throw (CORBA::SystemException) +{ + throw CORBA::NO_IMPLEMENT (); +} + +void +Single_Query_Stock_Handler_i::get_full_name (const char *) + throw (CORBA::SystemException) +{ + throw CORBA::NO_IMPLEMENT (); +} + +void +Single_Query_Stock_Handler_i:: + get_full_name_excep (Quoter::AMI_StockExceptionHolder *) + throw (CORBA::SystemException) +{ + throw CORBA::NO_IMPLEMENT (); +} + +void +Single_Query_Stock_Handler_i::price (double) + throw (CORBA::SystemException) +{ + throw CORBA::NO_IMPLEMENT (); +} + +void +Single_Query_Stock_Handler_i:: + price_excep (Quoter::AMI_StockExceptionHolder *) + throw (CORBA::SystemException) +{ + throw CORBA::NO_IMPLEMENT (); +} diff --git a/TAO/docs/tutorials/Quoter/AMI/Handler_i.h b/TAO/docs/tutorials/Quoter/AMI/Handler_i.h index 0cfa8662411..7745ac0bec3 100644 --- a/TAO/docs/tutorials/Quoter/AMI/Handler_i.h +++ b/TAO/docs/tutorials/Quoter/AMI/Handler_i.h @@ -20,7 +20,23 @@ public: void get_price_and_names_excep (Quoter::AMI_Single_Query_StockExceptionHolder_ptr) throw (CORBA::SystemException); + void get_symbol(const char *) + throw (CORBA::SystemException); + void get_symbol_excep (Quoter::AMI_StockExceptionHolder *) + throw (CORBA::SystemException); + + void get_full_name (const char *) + throw (CORBA::SystemException); + void get_full_name_excep (Quoter::AMI_StockExceptionHolder *) + throw (CORBA::SystemException); + + void price (double) + throw (CORBA::SystemException); + void price_excep (Quoter::AMI_StockExceptionHolder *) + throw (CORBA::SystemException); + private: + int *response_count_; }; -- cgit v1.2.1