//
// $Id: Handler_i.h 68873 2005-10-20 13:39:41Z jwillemsen $
//

#ifndef TAO_TUTORIALS_QUOTER_ONDEMAND_CLIENT_HANDLER_I_H
#define TAO_TUTORIALS_QUOTER_ONDEMAND_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 */
