diff options
Diffstat (limited to 'ACE/TAO/tests/Bug_1361_Regression/Echo.h')
-rw-r--r-- | ACE/TAO/tests/Bug_1361_Regression/Echo.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Bug_1361_Regression/Echo.h b/ACE/TAO/tests/Bug_1361_Regression/Echo.h new file mode 100644 index 00000000000..c989dd2ca78 --- /dev/null +++ b/ACE/TAO/tests/Bug_1361_Regression/Echo.h @@ -0,0 +1,34 @@ + +/** + * @file Echo.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@atdesk.com> + * + */ +#ifndef TAO_TESTS_BUG1270_ECHO_H +#define TAO_TESTS_BUG1270_ECHO_H + +#include "ace/Atomic_Op.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 const & data); + + virtual void echo_payload_out ( + Test::Payload_out data + ); + +private: + CORBA::ORB_var orb_; + + ACE_Atomic_Op<TAO_SYNCH_MUTEX, int> abort_counter_; +}; + +#endif /* TAO_TESTS_BUG1270_ECHO_H*/ |