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


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



© 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