diff options
Diffstat (limited to 'TAO/tests/Client_Leaks/Process_Factory.h')
-rw-r--r-- | TAO/tests/Client_Leaks/Process_Factory.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tests/Client_Leaks/Process_Factory.h b/TAO/tests/Client_Leaks/Process_Factory.h index f84bdc8304e..c0e6aef8fbc 100644 --- a/TAO/tests/Client_Leaks/Process_Factory.h +++ b/TAO/tests/Client_Leaks/Process_Factory.h @@ -24,6 +24,9 @@ public: /// Constructor Process_Factory (CORBA::ORB_ptr orb); + /// Return 1 if the shutdown message has been received already + int shutdown_received (void); + // = The skeleton methods virtual Test::Process_ptr create_new_process (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException,Test::Spawn_Failed)); @@ -35,6 +38,9 @@ private: /// Use an ORB reference to conver strings to objects and shutdown /// the application. CORBA::ORB_var orb_; + + /// Set to 1 when the test has finished + int shutdown_received_; }; #if defined(_MSC_VER) && (_MSC_VER >= 1200) |