diff options
Diffstat (limited to 'trunk/TAO/tests/Two_Objects/Second_i.h')
-rw-r--r-- | trunk/TAO/tests/Two_Objects/Second_i.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Two_Objects/Second_i.h b/trunk/TAO/tests/Two_Objects/Second_i.h new file mode 100644 index 00000000000..aa0375c9b2f --- /dev/null +++ b/trunk/TAO/tests/Two_Objects/Second_i.h @@ -0,0 +1,38 @@ +// -*- 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 (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void shutdown (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_; + CORBA::ULong length_; + ACE_Auto_Event &two_way_done_; +}; + +#endif /* TAO_TWO_OBEJCTS_SECOND_I_H*/ |