FileDocCategorySizeDatePackage
SupplyHelper.javaAPI DocExample1870Sat Jun 24 19:10:12 BST 2000CoffeeMachine

SupplyHelper

public class SupplyHelper extends Object

Fields Summary
private static org.omg.CORBA.TypeCode
_tc
Constructors Summary
private SupplyHelper()

 
Methods Summary
public static CoffeeMachine.Supplyextract(org.omg.CORBA.Any a)

     org.omg.CORBA.portable.InputStream in = a.create_input_stream();
     return read(in);
   
public static java.lang.Stringid()

       return "IDL:CoffeeMachine/Supply:1.0";
   
public static voidinsert(org.omg.CORBA.Any a, CoffeeMachine.Supply that)

     org.omg.CORBA.portable.OutputStream out = a.create_output_stream();
     write(out, that);
     a.read_value(out.create_input_stream(), type());
   
public static CoffeeMachine.Supplynarrow(org.omg.CORBA.Object that)

        if (that == null)
            return null;
        if (that instanceof CoffeeMachine.Supply)
            return (CoffeeMachine.Supply) that;
	if (!that._is_a(id())) {
	    throw new org.omg.CORBA.BAD_PARAM();
	}
        org.omg.CORBA.portable.Delegate dup = ((org.omg.CORBA.portable.ObjectImpl)that)._get_delegate();
        CoffeeMachine.Supply result = new CoffeeMachine._SupplyStub(dup);
        return result;
   
public static CoffeeMachine.Supplyread(org.omg.CORBA.portable.InputStream in)

        return CoffeeMachine.SupplyHelper.narrow(in.read_Object());
    
public static synchronized org.omg.CORBA.TypeCodetype()

          if (_tc == null)
             _tc = org.omg.CORBA.ORB.init().create_interface_tc(id(), "Supply");
      return _tc;
   
public static voidwrite(org.omg.CORBA.portable.OutputStream out, CoffeeMachine.Supply that)

        out.write_Object(that);