// Reply_Handler.h,v 1.2 2003/07/21 23:51:39 dhinton Exp
#ifndef REPLY_HANDLER_H
#define REPLY_HANDLER_H
#include /**/ "ace/pre.h"
#include "TestS.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class Reply_Handler : public POA_Test::AMI_HelloHandler
{
public:
  Reply_Handler (CORBA::ORB_ptr o);


  void next_prime (CORBA::ULong ami_return_val
                   ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC ((CORBA::SystemException));

  void next_prime_excep (Test::AMI_HelloExceptionHolder * excep_holder
                         ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC ((CORBA::SystemException));

private:

  CORBA::ORB_var orb_;
};


#include /**/ "ace/post.h"
#endif /*REPLY_HANDLER_H*/
