// javastubs/Test1/IS.java
// Stubs for "Test1"
//
// This file was automatically generated with ILU (version 2.0beta1) tools
// at Tue Sep 21 11:47:02 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;


/** 
 * Representing an ILU sequence type.
 */
public final class IS { 

    public static int _szFunc(xerox.ilu.IluCall _call, int[] _v)
                throws org.omg.CORBA.SystemException {
        int _sz = _call.szSequence(_v.length, 0);
        for (int _i = 0; _i < _v.length; _i++) {
            _sz += _call.szInt32(_v[_i]);
        }
        _call.endSequence();
        return _sz;
    } //_szFunc

    public static void _outFunc(xerox.ilu.IluCall _call, int[] _v)
                throws org.omg.CORBA.SystemException {
        _call.outSequence(_v.length, 0);
        for (int _i = 0; _i < _v.length; _i++) {
            _call.outInt32(_v[_i]);
        }
        _call.endSequence();
    } //_outFunc

    public static int[] _inFunc(xerox.ilu.IluCall _call)
            throws org.omg.CORBA.SystemException {
        int _ln = _call.inSequence(0);
        int[] _v = new int[_ln];
        for (int _i = 0; _i < _ln; _i++) {
            _v[_i] = _call.inInt32();
        }
        _call.endSequence();
        return _v;
    } //_inFunc

    static{
        xerox.ilu.IluTypeRep.registerSequenceType(
            "IS", //name
            "Test1", //islIfName
            null, //islIfBrand
            "ilut:m0OjAX3I12PfKGHyJuMQ9fcV+qO", //uid
            "ilut:ggrbg-q7UoqiAlNTWvqkwfZ4rlY", //baseUID
            0); //limit
    }//static
} //IS
