summaryrefslogtreecommitdiff
path: root/TAO/tests/Two_Objects/Second_i.h
blob: 214b9be1ece214cd6ac0ebc4af5a3dfba602bf40 (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
// -*- C++ -*-
//
// $Id$

#ifndef TAO_TWO_OBJECTS_SECOND_I_H
#define TAO_TWO_OBEJCTS_SECOND_I_H

#include "Two_ObjectsS.h"

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Auto_Event;
ACE_END_VERSIONED_NAMESPACE_DECL

/// Implement the POA_Two_Objects_Test::Second interface
class Second_i
  : public virtual POA_Two_Objects_Test::Second
{
public:

  Second_i ( CORBA::ORB_ptr orb,
             CORBA::ULong len, ACE_Auto_Event &two_way_done);

  Two_Objects_Test::Octet_Seq *
    twoway_method (void);

  void shutdown (void);

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

#endif /* TAO_TWO_OBEJCTS_SECOND_I_H*/