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


1 package Counter;
2 public class _st_Count extends CORBA.Stub
3 implements Count {
4 public int increment() {
5 CORBA.IOStream _stream = this._create_request("increment",true);
6 _invoke(_stream,true);
7 int _result = _stream.read_int();
8 return _result;
9 }
10 public int sum() { ... }
11 Note: This code is created automatically by
12 IDL-&#062Java pre-compiler from the IDL spec

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 Thu Jan 8 1998