summaryrefslogtreecommitdiff
path: root/TAO/docs/tutorials/Quoter/AMI/Handler_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/docs/tutorials/Quoter/AMI/Handler_i.h')
-rw-r--r--TAO/docs/tutorials/Quoter/AMI/Handler_i.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/docs/tutorials/Quoter/AMI/Handler_i.h b/TAO/docs/tutorials/Quoter/AMI/Handler_i.h
new file mode 100644
index 00000000000..fd3e78ec36e
--- /dev/null
+++ b/TAO/docs/tutorials/Quoter/AMI/Handler_i.h
@@ -0,0 +1,43 @@
+//
+// $Id$
+//
+
+#ifndef TAO_TUTORIALS_QUOTER_AMI_CLIENT_HANDLER_I_H
+#define TAO_TUTORIALS_QUOTER_AMI_CLIENT_HANDLER_I_H
+
+#include "QuoterS.h"
+
+class Single_Query_Stock_Handler_i : public POA_Quoter::AMI_Single_Query_StockHandler
+{
+public:
+ Single_Query_Stock_Handler_i (int *response_count);
+
+ void get_price_and_names (CORBA::Double ami_return_val,
+ const char *symbol,
+ const char *full_name)
+ throw (CORBA::SystemException);
+
+ void get_price_and_names_excep (::Messaging::ExceptionHolder *)
+ throw (CORBA::SystemException);
+
+ void get_symbol(const char *)
+ throw (CORBA::SystemException);
+ void get_symbol_excep (::Messaging::ExceptionHolder *)
+ throw (CORBA::SystemException);
+
+ void get_full_name (const char *)
+ throw (CORBA::SystemException);
+ void get_full_name_excep (::Messaging::ExceptionHolder *)
+ throw (CORBA::SystemException);
+
+ void price (double)
+ throw (CORBA::SystemException);
+ void price_excep (::Messaging::ExceptionHolder *)
+ throw (CORBA::SystemException);
+
+private:
+
+ int *response_count_;
+};
+
+#endif /* TAO_TUTORIALS_QUOTER_AMI_CLIENT_HANDLER_I_H */