summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h
blob: dab5df292dc6e672fadc273af060c9072c8b2e5a (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
31
/**
 * @file Echo_Handler.h
 *
 * $Id$
 *
 * @author Carlos O'Ryan <coryan@atdesk.com>
 */
#ifndef Echo_Handler__h_
#define Echo_Handler__h_

#include "TestS.h"
#include "tao/PortableServer/PortableServer.h"

class Echo_Handler
  : public POA_Test::AMI_EchoHandler
{
public:
  Echo_Handler(void);

  virtual void echo_operation(char const * retval);
  virtual void echo_operation_excep(::Messaging::ExceptionHolder * h);
  virtual void shutdown(void);
  virtual void shutdown_excep(::Messaging::ExceptionHolder * h);

  CORBA::ULong replies (void) const;

private:
  CORBA::ULong replies_;
};

#endif /* Echo_Handler__h_ */