FileDocCategorySizeDatePackage
_BankServerImplBase.javaAPI DocExample2728Sun Jun 15 15:16:38 BST 1997Examples

_BankServerImplBase

public abstract class _BankServerImplBase extends org.omg.CORBA.portable.ObjectImpl implements Examples.BankServer, org.omg.CORBA.portable.Skeleton

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

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


        switch (op) {
           case 0: // Examples.BankServer.verifyPIN
                  {
                      boolean __result = self.verifyPIN(
                        (int) (n[1] & 0xFFFFFFFFL),
                        (int) (n[2] & 0xFFFFFFFFL));
                        n[0] = (__result) ? 1 : 0;
                  }
                   break;
           case 1: // Examples.BankServer.getAcctSpecifics
                  {
                      self.getAcctSpecifics(
                        (int) (n[0] & 0xFFFFFFFFL),
                        (String)o[0],
                        (org.omg.CORBA.DoubleHolder)o[1],
                        (org.omg.CORBA.BooleanHolder)o[2]);
                  }
                   break;
           case 2: // Examples.BankServer.processTransaction
                  {
                      boolean __result = self.processTransaction(
                        (Examples.Transaction)o[0],
                        (int) (n[1] & 0xFFFFFFFFL));
                        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] = Examples._BankServerStub._get_operations();
    
          return _dispatch_table;
    
public java.lang.String[]_get_ids()


        return _type_ids;