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; } ................. } |