Basic HTML version of Foils prepared May 19 1999

Foil 47 Visigenic Base Object Implementation

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


1 This is generated automatically from IDL and is extended by both skeleton and example implementation template
2 abstract public class _CountImplBase extends org.omg.CORBA.portable.Skeleton implements Counter.Count {
3 public static boolean _execute(Counter.Count _self, int _method_id, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.OutputStream _output) { switch(_method_id) {
4 case 0: {
5 int _result = _self.increment(); /* Increment and return result */
6 _output.write_long(_result); return false; }
7 case 1: {
8 int sum;
9 sum = _input.read_long(); /* Set value of sum */
10 _self.sum(sum); return false; } ................. }

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 Mon Jul 5 1999