Basic HTML version of Foils prepared Aug 14 1997

Foil 50 Example:Implementation Template

From JavaBeans CORBA ComponentWare UC Web applications Certificate -- Aug 11,14 97. by Geoffrey C. Fox, Wojtek Furmanski


package Counter;
public class example_Count extends Skeleton implements Count {
private int sum;
example_CountImpl(String name) { // Count object constructor
super(name); sum = 0;
System.out.println("Count Object Created!");
}
public int sum() throws CORBA.Exception { // accessor method: getSum
}
public void sum(int val) throws CORBA.Exception { // accessor method: setSum
}
public int increment() throws CORBA.Exception { // increment method
}
}
Note: This code is generated by IDL-&#062Java pre-compiler and needs to be
completed by the developer (by implementing the indicated methods)
Note: This code is created automatically by
IDL-&#062Java 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 Thu Jan 8 1998