summaryrefslogtreecommitdiff
path: root/TAO/tests/Timed_Buffered_Oneways/test_i.h
blob: 7dc48785cb1bdb3048af245505372b0a9af7c588 (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
45
// -*- C++ -*-

//=============================================================================
/**
 *  @file   test_i.h
 *
 *  $Id$
 *
 *  @author Irfan Pyarali
 */
//=============================================================================


#ifndef TAO_TIMED_BUFFERED_ONEWAYS_TEST_I_H
#define TAO_TIMED_BUFFERED_ONEWAYS_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);

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

  void flush (void);

  void shutdown (CORBA::Long start_time);

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

#endif /* TAO_TIMED_BUFFERED_ONEWAYS_TEST_I_H */