summaryrefslogtreecommitdiff
path: root/TAO/tests/Single_Read/test_i.h
blob: fdf530e59319aef113a3f1b35c9d5aba34dea41f (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
38
39
40
41
42
43
44

//=============================================================================
/**
 *  @file   test_i.h
 *
 *  $Id$
 *
 *  @author Balachandran Natarajan <bala@cs.wustl.edu>
 */
//=============================================================================


#ifndef TAO_SINGLE_READ_TEST_I_H
#define TAO_SINGLE_READ_TEST_I_H

#include "testS.h"

/**
 * @class test_i
 *
 * @brief Simple implementation.
 */
class test_i : public POA_test
{
public:
  /// ctor.
  test_i (CORBA::ORB_ptr orb, const ACE_TCHAR *file_name);

  // = The test interface methods.
  void method (CORBA::ULong request_number,
               const test::data &);

  void shutdown (void);

private:
  /// The ORB.
  CORBA::ORB_var orb_;

  CORBA::Boolean client_done_;

  const ACE_TCHAR *client_done_file_;
};

#endif /* TAO_SINGLE_READ_TEST_I_H*/