FileDocCategorySizeDatePackage
_BankServerStub.javaAPI DocExample3733Sun Jun 15 15:16:40 BST 1997Examples

_BankServerStub

public class _BankServerStub extends org.omg.CORBA.portable.ObjectImpl implements Examples.BankServer

Fields Summary
public static final org.omg.CORBA.portable.OperationDescriptor[]
__ops
private static String[]
_type_ids
Constructors Summary
public _BankServerStub(org.omg.CORBA.portable.Delegate d)

          super(d);
    
Methods Summary
public java.lang.String[]_get_ids()


        return _type_ids; 
public static org.omg.CORBA.portable.OperationDescriptor[]_get_operations()


        
        return __ops;
    
public voidgetAcctSpecifics(int acctNo, java.lang.String customerName, org.omg.CORBA.DoubleHolder balance, org.omg.CORBA.BooleanHolder isChecking)

           long   _n[] = new long[4];
           java.lang.Object _o[] = new java.lang.Object[4];
           java.lang.Object _e;
           _n[0] = (acctNo & 0xFFFFFFFFL);
           _o[0] = customerName;
           _o[1] = balance;
           _o[2] = isChecking;
           _e = _invoke(__ops[1], _n, _o);
    
public booleanprocessTransaction(Examples.Transaction t, int acctNo)

           long   _n[] = new long[3];
           java.lang.Object _o[] = new java.lang.Object[3];
           java.lang.Object _e;
           _o[0] = t;
           _n[1] = (acctNo & 0xFFFFFFFFL);
           _e = _invoke(__ops[2], _n, _o);
           return (_n[0] == 0) ? false : true;
    
public booleanverifyPIN(int acctNo, int pin)

           long   _n[] = new long[3];
           java.lang.Object _o[] = new java.lang.Object[3];
           java.lang.Object _e;
           _n[1] = (acctNo & 0xFFFFFFFFL);
           _n[2] = (pin & 0xFFFFFFFFL);
           _e = _invoke(__ops[0], _n, _o);
           return (_n[0] == 0) ? false : true;