diff options
Diffstat (limited to 'trunk/TAO/tests/Bug_1361_Regression/Echo_Caller.h')
-rw-r--r-- | trunk/TAO/tests/Bug_1361_Regression/Echo_Caller.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Bug_1361_Regression/Echo_Caller.h b/trunk/TAO/tests/Bug_1361_Regression/Echo_Caller.h new file mode 100644 index 00000000000..a251e021d88 --- /dev/null +++ b/trunk/TAO/tests/Bug_1361_Regression/Echo_Caller.h @@ -0,0 +1,33 @@ +/** + * @file Echo_Caller.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@atdesk.com> + * + */ +#ifndef Echo_Caller__h_ +#define Echo_Caller__h_ + +#include "TestS.h" + +class Thread_Pool; + +class Echo_Caller : public POA_Test::Echo_Caller +{ +public: + Echo_Caller(CORBA::ORB_ptr orb, Thread_Pool *pool_); + + virtual void start_task(Test::Echo_ptr client + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC((CORBA::SystemException)); + + virtual void shutdown(ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + +private: + CORBA::ORB_var orb_; + Thread_Pool *pool_; +}; + +#endif /* Echo_Caller__h_ */ |