FileDocCategorySizeDatePackage
_CORBASolverImplBase.javaAPI DocExample2956Tue Jun 17 23:40:24 BST 1997DCJ.examples

_CORBASolverImplBase

public abstract class _CORBASolverImplBase extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CORBA.portable.Skeleton, DCJ.examples.CORBASolver

Fields Summary
private static org.omg.CORBA.portable.OperationDescriptor[]
_dispatch_table
private static String[]
_type_ids
Constructors Summary
public _CORBASolverImplBase()

         super(null);
    
Methods Summary
public java.lang.Object_execute(int intf, int op, long[] n, java.lang.Object[] o, org.omg.CORBA.Context ctx)


            return DCJ.examples._CORBASolverImplBase._execute(this, op, n, o, ctx);
    
public static java.lang.Object_execute(DCJ.examples.CORBASolver self, int op, long[] n, java.lang.Object[] o, org.omg.CORBA.Context ctx)


        switch (op) {
           case 0: // DCJ.examples.CORBASolver.curr
              {
              DCJ.examples.ProblemSet __result = self.curr();
              o[0] = __result;
              }
                   break;
           case 1: // DCJ.examples.CORBASolver.curr
              self.curr(              (DCJ.examples.ProblemSet)o[1]);
                   break;
           case 2: // DCJ.examples.CORBASolver.numIterations
              {
              int __result = self.numIterations();
              n[0] = (__result & 0xFFFFFFFFL);
              }
                   break;
           case 3: // DCJ.examples.CORBASolver.numIterations
              self.numIterations(              (int) (n[1] & 0xFFFFFFFFL));
                   break;
           case 4: // DCJ.examples.CORBASolver.create
                  {
                      org.omg.CORBA.Object __result = self.create(
);
                        o[0] = __result;
                  }
                   break;
           case 5: // DCJ.examples.CORBASolver.solve
                  {
                      boolean __result = self.solve(
                        (DCJ.examples.ProblemSetHolder)o[0]);
                        n[0] = (__result) ? 1 : 0;
                  }
                   break;
            default:
              throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
  }
       return null;
    
public org.omg.CORBA.portable.OperationDescriptor[][]_get_dispatch_table()

       _dispatch_table = new org.omg.CORBA.portable.OperationDescriptor[1][0];
       _dispatch_table[0] = DCJ.examples._CORBASolverStub._get_operations();
    
          return _dispatch_table;
    
public java.lang.String[]_get_ids()


        return _type_ids;