Example 2: Counter/Timer
The server exports two methods InitSum and Increment methods simply initialize variable sum and increments it by one, respectively. Then it returns the value of sum to the client.
The Client increments the sum to 1000 and keeps tracking of the elapsed time. The output is the average time per increment. (Roughly, this can be treated as the average time for ping command on IIOP.)