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


This is generated automatically from IDL and is extended by both skeleton and example implementation template
abstract public class _CountImplBase extends org.omg.CORBA.portable.Skeleton implements Counter.Count {
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) {
case 0: {
int _result = _self.increment(); /* Increment and return result */
_output.write_long(_result); return false; }
case 1: {
int sum;
sum = _input.read_long(); /* Set value of sum */
_self.sum(sum); return false; } ................. }



© 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