summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Thread_Pool/test_i.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-18 00:06:07 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-18 00:06:07 +0000
commite12b5d4ffb96ffdce21884a491273fb82a65cab9 (patch)
tree10e8af6827368c6ceb5e733627c5faf5e361b748 /TAO/tests/RTCORBA/Thread_Pool/test_i.h
parentb792311a6a68d2359ab17efcd36a899eff948baf (diff)
downloadATCD-e12b5d4ffb96ffdce21884a491273fb82a65cab9.tar.gz
ChangeLogTag: Mon Sep 17 19:00:00 2001 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/RTCORBA/Thread_Pool/test_i.h')
-rw-r--r--TAO/tests/RTCORBA/Thread_Pool/test_i.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/TAO/tests/RTCORBA/Thread_Pool/test_i.h b/TAO/tests/RTCORBA/Thread_Pool/test_i.h
index 22810f419f4..c5d058eb758 100644
--- a/TAO/tests/RTCORBA/Thread_Pool/test_i.h
+++ b/TAO/tests/RTCORBA/Thread_Pool/test_i.h
@@ -10,11 +10,14 @@
#include "testS.h"
-class test_i : public POA_test
+class test_i :
+ public POA_test,
+ public PortableServer::RefCountServantBase
{
public:
/// Constructor.
test_i (CORBA::ORB_ptr orb,
+ PortableServer::POA_ptr poa,
long msec_sleep);
/// Test method.
@@ -27,10 +30,16 @@ public:
void shutdown (CORBA::Environment&)
ACE_THROW_SPEC ((CORBA::SystemException));
+ /// Our POA.
+ PortableServer::POA_ptr _default_POA (CORBA_Environment &ACE_TRY_ENV);
+
private:
/// ORB.
CORBA::ORB_var orb_;
+ /// Our POA.
+ PortableServer::POA_var poa_;
+
/// Time spent in executing the upcall.
ACE_Time_Value nap_time_;
};