3 =================== Time Service Test =====================================
5 A sample run of the TimeService can be done as follows :
7 * Using the Naming Service :
9 1. Run TAO/orbsvcs/Time_Service/server on different machines.
10 2. Run TAO/orbsvcs/Time_Service/clerk -t 5 on some machines.
11 3. Run the TAO/orbsvcs/tests/Time/client on one of the machines where a clerk
16 1. Run TAO/orbsvcs/Time_Service/server -o server_ior on different machines.
17 2. Run TAO/orbsvcs/Time_Service/clerk -t 5 -f server_ior -o clerk_ior on some
19 3. Run the TAO/orbsvcs/tests/Time/client -f clerk_ior on one of the machines
20 where a clerk is running.
22 * Using the Implementation Repository :
24 1. Run the Implementation Repository service as :
26 TAO/orbsvcs/Time_Service> ../ImplRepo_Service/ImplRepo_Service -ORBsvcconf
27 implrepo.conf -ORBobjrefstyle url -d 1
31 TAO/orbsvcs/Time_Service> server -o server_ior -r -i
35 TAO/orbsvcs/Time_Service> clerk -f server_ior -t 5 -o clerk_ior
39 TAO/orbsvcs/tests/Time/client -f clerk_ior
44 Currently, updating the system time involves taking the average of all
45 the times received from the servers. This can be extended by using a
46 more elaborate distributed time synchronization algorithm.