Basic HTML version of Foils prepared May 19 1999

Foil 82 Example 2: Java Interface

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 {
int sum() throws org.omg.CORBA.SystemException;
void sum(int arg) throws org.omg.CORBA.SystemException;
void initSum(int value);
int increment();
}
Note: This code is created automatically by idltojava pre-compiler from the IDL spec.



© 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