3 #include /**/ "ace/pre.h"
7 #include "ace/Basic_Stats.h"
8 #include "ace/High_Res_Timer.h"
10 /// Implement the Test::Client_Task interface
11 class Client_Task
: public ACE_Task_Base
15 Client_Task (Test::Roundtrip_ptr roundtrip
,
18 /// Add this thread results to the global numbers and print the
19 /// per-thread results.
20 void accumulate_and_dump (ACE_Basic_Stats
&totals
,
22 ACE_High_Res_Timer::global_scale_factor_type gsf
);
24 /// The service method
28 /// Make sure that the current thread has a connection available.
29 void validate_connection ();
32 /// The object reference used for this test
33 Test::Roundtrip_var roundtrip_
;
35 /// The number of iterations
38 /// Keep track of the latency (minimum, average, maximum and jitter)
39 ACE_Basic_Stats latency_
;
42 #include /**/ "ace/post.h"
43 #endif /* CLIENT_TASK_H */