summaryrefslogtreecommitdiff
path: root/TAO/tests/Two_Objects/First_i.h
blob: 9273bf283cb28d0d831f55f1baa3ba56942ae9b0 (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
//
// $Id$
//


#ifndef TAO_TWO_OBJECTS_FIRST_I_H
#define TAO_TWO_OBJECTS_FIRST_I_H

#include "Two_ObjectsS.h"
#include "ace/Auto_Event.h"

/// Implement the Two_Objects_Test::First interface
class First_i
  : public virtual POA_Two_Objects_Test::First
{
public:

  // Ctor..
  First_i (CORBA::ORB_ptr orb, ACE_Auto_Event &two_way_done);

  /// Interface methods..
  void oneway_method (ACE_ENV_SINGLE_ARG_DECL)
      ACE_THROW_SPEC ((CORBA::SystemException));

private:

  /// Use an ORB reference to conver strings to objects and shutdown
  /// the application.
  CORBA::ORB_var orb_;
  ACE_Auto_Event &two_way_done_;
};

#endif /* TAO_TWO_OBJECTS_FIRST_I_H*/