FileDocCategorySizeDatePackage
_SupplyImplBase.javaAPI DocExample1506Sat Jun 24 19:10:12 BST 2000CoffeeMachine

_SupplyImplBase

public abstract class _SupplyImplBase extends org.omg.CORBA.DynamicImplementation implements CoffeeMachine.Supply

Fields Summary
private static final String[]
_type_ids
private static Dictionary
_methods
Constructors Summary
public _SupplyImplBase()

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


        return (String[]) _type_ids.clone(); 
public voidinvoke(org.omg.CORBA.ServerRequest r)

     
      _methods.put("dispenseCup", new java.lang.Integer(0));
     
       switch (((java.lang.Integer) _methods.get(r.op_name())).intValue()) {
           case 0: // CoffeeMachine.Supply.dispenseCup
              {
              org.omg.CORBA.NVList _list = _orb().create_list(0);
              r.params(_list);
              int ___result;
                            ___result = this.dispenseCup();
              org.omg.CORBA.Any __result = _orb().create_any();
              __result.insert_long(___result);
              r.result(__result);
              }
              break;
            default:
              throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
       }