Basic HTML version of Foils prepared May 19 1999

Foil 41 Count Java Interface -- Actual Code

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


1 package Counter;
2 public interface Count extends org.omg.CORBA.Object {
3 /* Attribute Writer */
4 public void sum(int sum);
5 /* Attribute Reader */
6 public int sum();
7 /*Implement Remote Operation */
8 public int increment();
9 }
10 Note: The IDL type long was converted to Java type int
11 Note: This code is created automatically by IDL->Java pre-compiler from the IDL spec
12 Note: All client programs invoking the remote count object must use this as interface definition for remote object

in Table To:


© 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