diff options
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h')
-rw-r--r-- | TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h deleted file mode 100644 index d6e35ff894a..00000000000 --- a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h +++ /dev/null @@ -1,42 +0,0 @@ -// $Id$ -#ifndef FOOSERVANTLIST_H -#define FOOSERVANTLIST_H - -#include "tao/ORB.h" -#include "tao/PortableServer/PortableServer.h" -#include "tao/PortableServer/Servant_Base.h" -#include "ace/SString.h" - - -class FooServantList -{ - public: - - FooServantList(const char* prefix, - unsigned num_servants, - unsigned num_clients, - CORBA::ORB_ptr orb); - ~FooServantList(); - - void create_and_activate(PortableServer::POA_ptr poa - ACE_ENV_ARG_DECL); - - void client_done(ACE_ENV_SINGLE_ARG_DECL); - - - private: - - typedef ACE_SYNCH_MUTEX LockType; - typedef ACE_Guard<LockType> GuardType; - - PortableServer::ServantBase_var* servants_; - ACE_CString prefix_; - unsigned num_servants_; - - LockType num_clients_lock_; - unsigned num_clients_; - - CORBA::ORB_var orb_; -}; - -#endif |