FileDocCategorySizeDatePackage
_ProblemSetImplBase.javaAPI DocExample2625Tue Jun 17 23:41:10 BST 1997DCJ.examples

_ProblemSetImplBase

public abstract class _ProblemSetImplBase extends org.omg.CORBA.portable.ObjectImpl implements DCJ.examples.ProblemSet, org.omg.CORBA.portable.Skeleton

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

         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._ProblemSetImplBase._execute(this, op, n, o, ctx);
    
public static java.lang.Object_execute(DCJ.examples.ProblemSet self, int op, long[] n, java.lang.Object[] o, org.omg.CORBA.Context ctx)


        switch (op) {
           case 0: // DCJ.examples.ProblemSet.getValue
                  {
                      double __result = self.getValue(
);
                        n[0] = Double.doubleToLongBits(__result);
                  }
                   break;
           case 1: // DCJ.examples.ProblemSet.setValue
                  {
                      self.setValue(
                        Double.longBitsToDouble(n[0]));
                  }
                   break;
           case 2: // DCJ.examples.ProblemSet.getSolution
                  {
                      double __result = self.getSolution(
);
                        n[0] = Double.doubleToLongBits(__result);
                  }
                   break;
           case 3: // DCJ.examples.ProblemSet.setSolution
                  {
                      self.setSolution(
                        Double.longBitsToDouble(n[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._ProblemSetStub._get_operations();
    
          return _dispatch_table;
    
public java.lang.String[]_get_ids()


        return _type_ids;