// javastubs/Test1/O3Stub.java
// Stubs for "Test1"
//
// This file was automatically generated with ILU (version 2.0beta1) tools
// at Tue Sep 21 11:47:01 1999 by `nobody'
// running "c:/iluwin/bin/java-stubber.exe" of Tue Sep 21 10:50:42 1999
// on "C:/iluwin/examples/pickle/Test1.isl" of Mon Sep 20 15:54:01 1999,
// and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
//
// ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
// ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.



package Test1;


/** 
 * A stub class implementing surrogates for an ILU object type.
 */
public class O3Stub extends xerox.ilu.IluSurrogateObject implements O3 {

    static xerox.ilu.IluClassRep _classRep;
    static private _O3_skeletonClass _O3_skeleton = new _O3_skeletonClass();

  static {
    xerox.ilu.IluPreLoad.checkStubConsistency13("v2 (post-2.0alpha12)");
    try {
        _classRep = xerox.ilu.IluClassRep.setupClass(
            "Test1.O3", //java reference interface name
            "Test1.O3", //ilu object type name
            "ilut:lQr6i5J1cc5ITlb7sSnXWCReRuU", //uuid
            0); //method count
        _classRep.setCollectable();
        _classRep.setSurrClass("Test1.O3Stub");
        _classRep.setIfName("Test1"); 
    } catch (org.omg.CORBA.SystemException e) {
        System.err.println("**error registering O3: " + e);
        e.printStackTrace(System.err);
        throw e;    }
    try {
        _classRep.finishClass();
        O3Helper.id(); //makes sure helper class is loaded
    } catch (org.omg.CORBA.SystemException e) {
        System.err.println("**error registering O3: " + e);
        e.printStackTrace(System.err);
        throw e;    }
  }//static

    /** returns ilu class implemented by this stub class */
    static public final xerox.ilu.IluClassRep iluClass() {
        return _classRep;
    }//iluClass

    public static void registerTrueObject(
        java.lang.String _ih,
        O3 _tob,
        xerox.ilu.IluServer _s) throws org.omg.CORBA.SystemException {
        xerox.ilu.Ilu.registerTrueObject(_ih, _tob, _s, _classRep, 0);
    } //registerTrueObject

    /** ilu use only */
    public O3Stub() {
    }
    /** ilu use only */
    public O3Stub(java.lang.Object arg) {
    }
    static {
        Test1._allJavaStubs.load();
    }
} //O3Stub

class _O3_skeletonClass implements xerox.ilu.IluSkeleton {
    _O3_skeletonClass() {
    }

  public void serveRequest(xerox.ilu.IluCall _call, xerox.ilu.IluMethodRep _m) 
            throws org.omg.CORBA.SystemException {
    int _sz = 0;
    switch(_m.methodIdx) {
      default:
    }
  } //serveRequest

} //_O3_skeletonClass

