summaryrefslogtreecommitdiff
path: root/TAO/tests/DII_AMI_Forward/DII_ReplyHandler.h
blob: 59b7b432229361ad7e685b4d4f3fb912e99c0b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// -*-  C++ -*-

//
// $Id$
//

#ifndef DII_REPLY_HANDLER_H
#define DII_REPLY_HANDLER_H

#include "tao/DynamicInterface/DII_Reply_Handler.h"

class DII_ReplyHandler :
  public virtual TAO_DII_Reply_Handler,
  public virtual Messaging::ReplyHandler
{
public:
  DII_ReplyHandler (bool &reply_notifier);
  virtual ~DII_ReplyHandler ();

  virtual void handle_response (TAO_InputCDR &incoming);
  virtual void handle_excep (TAO_InputCDR &incoming,
                             CORBA::ULong reply_status);
  virtual void handle_location_forward (TAO_InputCDR &incoming,
                                        CORBA::ULong reply_status);
private:
  bool &got_reply_;
};


#endif // DII_REPLY_HANDLER_H