summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Oneway_Send_Timeouts/Test_i.h
blob: 75c56a3acc76f828459bb4ab3f88adcb18038f5a (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
// $Id$

#ifndef _TEST_I_
#define _TEST_I_

#include "TestS.h"

class Test_i : public virtual POA_Test
{
 public:
  Test_i (CORBA::ORB_ptr orb);
  virtual ~Test_i ();

  virtual void sleep (CORBA::Long sec, CORBA::Long msec);

  virtual void unsleep ();

  virtual void dummy_one_way (const char* msg);

  virtual void dummy_two_way ();

  virtual void shutdown ();

 private:
  volatile bool sleep_;
  volatile bool unsleep_;
  volatile bool shutdown_;
  CORBA::ORB_var orb_;
};

#endif // _TEST_I_