diff options
Diffstat (limited to 'TAO/tests/DSI_AMI_Gateway/My_DII_Reply_Handler.h')
-rw-r--r-- | TAO/tests/DSI_AMI_Gateway/My_DII_Reply_Handler.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/tests/DSI_AMI_Gateway/My_DII_Reply_Handler.h b/TAO/tests/DSI_AMI_Gateway/My_DII_Reply_Handler.h new file mode 100644 index 00000000000..d1d99285184 --- /dev/null +++ b/TAO/tests/DSI_AMI_Gateway/My_DII_Reply_Handler.h @@ -0,0 +1,25 @@ +//$Id$ + +#include "tao/Messaging/MessagingS.h" +#include "tao/DynamicInterface/DII_Reply_Handler.h" +#include "tao/DynamicInterface/AMH_DSI_Response_Handler.h" +class My_DII_Reply_Handler : public virtual TAO_DII_Reply_Handler, + public virtual Messaging::ReplyHandler +{ + // Used to handle replies from the server and to complete the + // call back to the client. + // +public: + My_DII_Reply_Handler (TAO_AMH_DSI_Response_Handler_ptr rph, + CORBA::ORB_var orb); + virtual ~My_DII_Reply_Handler (void); + + // Callback method for deferred synchronous requests. + virtual void handle_response (TAO_InputCDR &incoming); + virtual void handle_excep (TAO_InputCDR &incoming, + CORBA::ULong reply_status); + +private: + TAO_AMH_DSI_Response_Handler * response_handler_; + CORBA::ORB_var orb_; +}; |