diff options
Diffstat (limited to 'trunk/TAO/tests/Reliable_Oneways/Shutdown_Helper.h')
-rw-r--r-- | trunk/TAO/tests/Reliable_Oneways/Shutdown_Helper.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Reliable_Oneways/Shutdown_Helper.h b/trunk/TAO/tests/Reliable_Oneways/Shutdown_Helper.h new file mode 100644 index 00000000000..e4b764f3497 --- /dev/null +++ b/trunk/TAO/tests/Reliable_Oneways/Shutdown_Helper.h @@ -0,0 +1,30 @@ +// +// $Id$ +// + +#ifndef SHUTDOWN_HELPER_H +#define SHUTDOWN_HELPER_H +#include /**/ "ace/pre.h" + +#include "TestS.h" + +/// Implement the Test::Shutdown_Helper interface +class Shutdown_Helper + : public virtual POA_Test::Shutdown_Helper +{ +public: + /// Constructor + Shutdown_Helper (CORBA::ORB_ptr orb); + + // = The skeleton methods + virtual 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_; +}; + +#include /**/ "ace/post.h" +#endif /* SHUTDOWN_HELPER_H */ |