Basic HTML version of Foils prepared May 19 1999

Foil 77 Example 2: Counter/Timer

From CORBA Common Object Request Broker Architecture Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Geoffrey Fox, Wojtek Furmanski, Nancy McCracken, Chao-Wei Ou, Shrideep Pallickara


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.)



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Jul 5 1999