summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.cpp
blob: d1778da8bb621fdd04bbab23d572127e1e313132 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
 * @file Echo_Handler.cpp
 *
 * $Id$
 *
 * @author Carlos O'Ryan <coryan@atdesk.com>
 */
#include "Echo_Handler.h"


ACE_RCSID (AMI,
           Echo_Handler,
           "$Id$")


Echo_Handler::Echo_Handler(void)
  : replies_ (0)
{
}

void
Echo_Handler::echo_operation (char const *
                              ACE_ENV_ARG_DECL_NOT_USED)
  ACE_THROW_SPEC((CORBA::SystemException))
{
  ++this->replies_;
}

void
Echo_Handler::echo_operation_excep (Test::AMI_EchoExceptionHolder *
                                    ACE_ENV_ARG_DECL_NOT_USED)
  ACE_THROW_SPEC((CORBA::SystemException))
{
}

void
Echo_Handler::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
  ACE_THROW_SPEC((CORBA::SystemException))
{
}

void
Echo_Handler::shutdown_excep (Test::AMI_EchoExceptionHolder *
                              ACE_ENV_ARG_DECL_NOT_USED)
  ACE_THROW_SPEC((CORBA::SystemException))
{
}

CORBA::ULong
Echo_Handler::replies (void) const
{
  return this->replies_;
}