Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1361_Regression / Echo.h
blobe10e02a1773e69cf5b22a6856962f8bd28f79053
2 /**
3 * @file Echo.h
5 * @author Carlos O'Ryan <coryan@atdesk.com>
6 */
7 #ifndef TAO_TESTS_BUG1270_ECHO_H
8 #define TAO_TESTS_BUG1270_ECHO_H
10 #include "ace/Atomic_Op.h"
11 #include "TestS.h"
13 class Echo : public POA_Test::Echo
15 public:
16 Echo(CORBA::ORB_ptr orb,
17 int abort_counter);
19 virtual void echo_payload (Test::Payload const & data);
21 virtual void echo_payload_out (
22 Test::Payload_out data
25 private:
26 CORBA::ORB_var orb_;
28 ACE_Atomic_Op<TAO_SYNCH_MUTEX, int> abort_counter_;
31 #endif /* TAO_TESTS_BUG1270_ECHO_H*/