2 #ifndef LONGUPCALLS_MANAGER_H
3 #define LONGUPCALLS_MANAGER_H
9 : public virtual POA_Test::Manager
12 Manager (CORBA::ORB_ptr orb
);
15 // = The skeleton methods
16 virtual void start_workers (CORBA::Short worker_count
,
17 CORBA::Long milliseconds
,
18 Test::Controller_ptr controller
);
19 virtual void shutdown (void);
23 // The ORB, to shutdown
26 // ****************************************************************
28 class Worker
: public ACE_Task_Base
31 Worker (ACE_Thread_Manager
*thr_mgr
,
32 Test::Controller_ptr controller
,
33 CORBA::Long milliseconds
);
35 virtual int svc (void);
39 Test::Controller_var controller_
;
40 // The controller pointer
42 CORBA::Long milliseconds_
;
43 // The number of milliseconds.
46 #endif /* LONGUPCALLS_MANAGER_H */