diff options
Diffstat (limited to 'TAO/tests/Server_Leaks/Ping_Service.h')
-rw-r--r-- | TAO/tests/Server_Leaks/Ping_Service.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/TAO/tests/Server_Leaks/Ping_Service.h b/TAO/tests/Server_Leaks/Ping_Service.h new file mode 100644 index 00000000000..8136914b8ce --- /dev/null +++ b/TAO/tests/Server_Leaks/Ping_Service.h @@ -0,0 +1,33 @@ +// +// $Id$ +// + +#ifndef SERVER_LEAKS_PING_SERVICE_H +#define SERVER_LEAKS_PING_SERVICE_H +#include /**/ "ace/pre.h" + +#include "TestS.h" + +/// Implement the Test::Ping_Service interface +class Ping_Service + : public virtual POA_Test::Ping_Service +{ +public: + /// Constructor + Ping_Service (CORBA::ORB_ptr orb); + + // = The skeleton methods + virtual void ping (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + 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 /* SERVER_LEAKS_PING_SERVICE_H */ |