Back to Clock Service Examples Page
This example will demonstrate the usage of a Mission clock. A reference to a Mission clock is obtained (via the "ControlledClock" ObjectId). You will need to ensure that the ControlledClock singleton is configured as a Mission clock - instructions are given below.
The example will then demonstrate how the clock can be set, paused and resumed.
The source file for the Mission Clock example is:
From the command line use:
server -start ClockService
Using the Administration Manager:
Start the Administration Manager, right click on the ClockService node and select Start from the pop-up menu.
run com.prismt.cos.CosClockService.examples.MissionClockQuery