summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Bug_1020_Basic_Regression/Echo.h
blob: 8175f5ec3a3ca40bb9b569f41e841c2b971d6f26 (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

/**
 * @file Echo.h
 *
 * $Id$
 *
 * @author Carlos O'Ryan <coryan@atdesk.com>
 *
 */
#ifndef BUG_1020_BASIC_REGRESSION_ECHO_H
#define BUG_1020_BASIC_REGRESSION_ECHO_H
#include "TestS.h"

class Echo : public POA_Test::Echo
{
public:

  Echo (CORBA::ORB_ptr orb,
        int abort_counter);

  virtual void echo_payload (Test::Payload & data
                             ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC((CORBA::SystemException));

private:
  CORBA::ORB_var orb_;

  int abort_counter_;

  ACE_SYNCH_MUTEX mutex_;
};

#endif /* BUG_1020_BASIC_REGRESSION_ECHO_H*/