2 //=============================================================================
6 * This file defines the servant for the Job.idl interface
8 * @author Pradeep Gore <pradeep@cs.wustl.edu>
10 //=============================================================================
15 #include "ace/SString.h"
16 #include "ace/Arg_Shifter.h"
21 * @brief Implements a Job that performs some cpu bound work.
23 class Job_i
: public POA_Job
29 /// Init the state of this object.
30 int init (ACE_Arg_Shifter
& arg_shifter
);
33 const ACE_CString
& name ();
34 const ACE_CString
& poa ();
36 /// = inteface Job method implementation.
37 virtual void work (CORBA::ULong work
);
39 virtual void shutdown ();
41 /// The name of this Job
42 ACE_CString job_name_
;
44 /// The name of the POA that we live in.
45 ACE_CString POA_name_
;