summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/On_Demand_Act_Direct_Coll/test_i.h
blob: 33dabade22b65a2dc38a89e3705250171d959418 (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
34
35
36
37
//=============================================================================
/**
 *  @file     test_i.h
 *
 *   Defines test_i class for the test interface
 *
 *  @author  Irfan Pyarali
 */
//=============================================================================


#include "testS.h"

class test_i : public POA_test
{
public:
  /// Constructor - takes a POA and a value parameter
  test_i (CORBA::ORB_ptr orb,
          PortableServer::POA_ptr poa,
          ACE_thread_t thr_id);

  /// A twoway operation.
  void method ();

  /// A twoway operation.
  char *
  get_string ();

protected:
  /// Our ORB.
  CORBA::ORB_var orb_;

  /// Our POA.
  PortableServer::POA_var poa_;
private:
  ACE_thread_t thr_id_;
};