Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Two_Objects / Second_i.h
blob22b67aad6c52dc84b9c8c354edb97298c2d25604
1 // -*- C++ -*-
2 #ifndef TAO_TWO_OBJECTS_SECOND_I_H
3 #define TAO_TWO_OBJECTS_SECOND_I_H
5 #include "Two_ObjectsS.h"
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
8 class ACE_Auto_Event;
9 ACE_END_VERSIONED_NAMESPACE_DECL
11 /// Implement the POA_Two_Objects_Test::Second interface
12 class Second_i
13 : public virtual POA_Two_Objects_Test::Second
15 public:
16 Second_i (CORBA::ORB_ptr orb,
17 CORBA::ULong len, ACE_Auto_Event &two_way_done);
19 Two_Objects_Test::Octet_Seq *twoway_method ();
21 void shutdown ();
23 private:
24 /// Use an ORB reference to convert strings to objects and shutdown
25 /// the application.
26 CORBA::ORB_var orb_;
27 CORBA::ULong length_;
28 ACE_Auto_Event &two_way_done_;
31 #endif /* TAO_TWO_OBJECTS_SECOND_I_H*/