diff options
Diffstat (limited to 'TAO/tests/Server_Leaks/Ping_Service.cpp')
-rw-r--r-- | TAO/tests/Server_Leaks/Ping_Service.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/TAO/tests/Server_Leaks/Ping_Service.cpp b/TAO/tests/Server_Leaks/Ping_Service.cpp new file mode 100644 index 00000000000..31cf7652b1a --- /dev/null +++ b/TAO/tests/Server_Leaks/Ping_Service.cpp @@ -0,0 +1,24 @@ +// +// $Id$ +// +#include "Ping_Service.h" + +ACE_RCSID(Server_Leaks, Ping_Service, "$Id$") + +Ping_Service::Ping_Service (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +void +Ping_Service::ping (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ +} + +void +Ping_Service::shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); +} |