summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1551_Regression/Reply_Handler.h
blob: 9b27bd8f04e7ef7c62f63ed4b6303df1dda5f292 (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

#ifndef REPLY_HANDLER_H
#define REPLY_HANDLER_H

#include /**/ "ace/pre.h"

#include "TestS.h"

class Reply_Handler
  : public POA_Test::AMI_HelloHandler
{
public:
  Reply_Handler (
      Test::Hello_ptr hello,
      CORBA::ORB_ptr orb);

  void short_sleep (void);

  void short_sleep_excep (::Messaging::ExceptionHolder * excep_holder);

private:
  void check_counter(void);

private:
  ACE_Atomic_Op<TAO_SYNCH_MUTEX, long> counter_;
  Test::Hello_var hello_;
  CORBA::ORB_var orb_;
};

#include /**/ "ace/post.h"
#endif /* REPLY_HANDLER_H */