1 //=============================================================================
5 * @author Tim Bradley <bradley_t@ociweb.com>
7 //=============================================================================
12 #include "CSD_PT_TestInf_Export.h"
13 #include "ClientEngine.h"
15 #include "ace/Vector_T.h"
16 #include "ace/Synch.h"
18 class CSD_PT_TestInf_Export ClientTask
: public ACE_Task_Base
22 virtual ~ClientTask();
24 void add_engine(ClientEngine
* engine
);
25 void num_loops(unsigned num_loops
);
27 virtual int open(void* arg
= 0);
29 virtual int close(u_long
);
31 unsigned failure_count() const;
34 typedef ACE_Vector
<ClientEngine_Handle
> EngineVector
;
36 TAO_SYNCH_MUTEX lock_
;
37 EngineVector engines_
;
38 unsigned failure_count_
;