Basic HTML version of Foils prepared Aug 14 1997

Foil 46 Example:Client-side Stub

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


package Counter;
public class _st_Count extends CORBA.Stub
implements Count {
public int increment() {
CORBA.IOStream _stream = this._create_request("increment",true);
_invoke(_stream,true);
int _result = _stream.read_int();
return _result;
}
public int sum() { ... }
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