Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / DevGuideExamples / AMH_AMI / inner_cb.h
blob578a169a0461e7d340c9acd876e29f62727d5827
1 // -*- C++ -*-
2 #ifndef INNER_CB_H
3 #define INNER_CB_H
5 #include "innerS.h"
6 #include "middleC.h"
8 class Inner_callback_i : public virtual POA_AMI_InnerHandler
10 public:
11 //Constructor
12 Inner_callback_i (PortableServer::POA_ptr p,
13 AMH_MiddleResponseHandler_ptr rh);
15 //Destructor
16 virtual ~Inner_callback_i();
18 virtual void answer (const char * ami_return_val);
20 virtual void answer_excep (Messaging::ExceptionHolder * excep_holder);
22 private:
23 PortableServer::POA_var poa_;
24 AMH_MiddleResponseHandler_var response_handler_;
27 #endif