diff options
Diffstat (limited to 'TAO/performance-tests/RTCorba/Multiple_Endpoints/Common/test_i.cpp')
-rw-r--r-- | TAO/performance-tests/RTCorba/Multiple_Endpoints/Common/test_i.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Common/test_i.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Common/test_i.cpp new file mode 100644 index 00000000000..1ef9bd731eb --- /dev/null +++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Common/test_i.cpp @@ -0,0 +1,31 @@ +// $Id$ + +#include "test_i.h" +#include "tao/debug.h" +#include "ace/ACE.h" + +#if !defined(__ACE_INLINE__) +#include "test_i.inl" +#endif /* __ACE_INLINE__ */ + +ACE_RCSID(Latency, test_i, "$Id$") + +void +Test_i::test_method (CORBA::Long id) +{ + if (TAO_debug_level > 0) + ACE_DEBUG ((LM_DEBUG, + "Receiving request from thread <%d> in <%t>\n", + id)); +} + +void +Test_i::shutdown (const char *orb_id) +{ + int argc = 0; + CORBA::ORB_var orb = CORBA::ORB_init (argc, + 0, + orb_id); + + orb->shutdown (0); +} |