3 Source_i::Source_i (ThreeTier_ptr target
)
4 : target_(ThreeTier::_duplicate(target
))
5 , counter_(5)//1000000)
14 Source_i::parse_args(int, ACE_TCHAR
*[])
24 for(size_t loop
= 0; loop
< counter_
; ++loop
)
26 // call a 'nop' method on the server
29 // this sleep can be used give the middle tier a chance
33 unsigned long tickCount
= target_
->tickCount();
34 unsigned long tockCount
= target_
->tockCount();
37 "Count of ticks: %d tocks: %d\n",
38 (int)tickCount
, (int)tockCount
));
43 catch (const CORBA::Exception
& ex
)
45 ex
._tao_print_exception ("\tSOURCE: Exception");