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