24 Job_i::init (ACE_Arg_Shifter
& arg_shifter
)
26 // Read the name of the Job
27 job_name_
= ACE_TEXT_ALWAYS_CHAR(arg_shifter
.get_current ());
28 arg_shifter
.consume_arg ();
30 // Read the name of the POA
31 POA_name_
= ACE_TEXT_ALWAYS_CHAR(arg_shifter
.get_current ());
32 arg_shifter
.consume_arg ();
38 Job_i::work (CORBA::ULong work
)
40 static CORBA::ULong prime_number
= 9619;
42 if (TAO_debug_level
> 0)
44 "test_i::method: %hd units of work\n",
47 for (; work
!= 0; work
--)
48 ACE::is_prime (prime_number
,
54 Job_i::shutdown (void)
56 ACTIVITY::instance()->job_ended (this);