summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h
blob: 0e61da099d5d694bdc9adde14b882e1012042a4f (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
32
33
34
/**
 * @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 PortableServer::RefCountServantBase
{
public:
  Echo_Handler(void);

  virtual void echo_operation(char const * retval
                              ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC((CORBA::SystemException));
  virtual void echo_operation_excep(Test::AMI_EchoExceptionHolder * h
                                    ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC((CORBA::SystemException));
  virtual void shutdown(ACE_ENV_SINGLE_ARG_DECL)
    ACE_THROW_SPEC((CORBA::SystemException));
  virtual void shutdown_excep(Test::AMI_EchoExceptionHolder * h
                              ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC((CORBA::SystemException));
};

#endif /* Echo_Handler__h_ */