//Generated by the IDL-to-C#-compiler MiddCorIdl //Source: C:/project/MC/MinCorNet/DemoJava/Arrays/IDL/Arrays.idl //Dienstag, 22. März 2005, 19:07:49 using System; using System.Collections; using Middsol; //Types namespace org { namespace omg { namespace boxedRMI { namespace java { namespace lang { } } } } } namespace Arrays { namespace GreetingsPackage { } } //Interfaces and Value Factories namespace org { namespace omg { namespace boxedRMI { namespace java { namespace lang { } } } } } namespace Arrays { public interface Greetings : GreetingsOperations, Middsol.CORBA.Object, Middsol.CORBA.portable.IDLEntity { } } //Interface Operations and Value Types namespace org { namespace omg { namespace boxedRMI { namespace java { namespace lang { } } } } } namespace Arrays { public interface GreetingsOperations { string[][] hello( string[][] a_arg0 ); } } //Helpers namespace org { namespace omg { namespace boxedRMI { namespace java { namespace lang { public class seq1_StringHelper : Middsol.CORBA.portable.BoxedValueHelper { private static seq1_StringHelper _factory = new seq1_StringHelper(); public seq1_StringHelper() { } private static string _id = "RMI:[Ljava.lang.String;:071DA8BE7F971128:A0F0A4387A3BB342"; public static string id() { return _id; } private static Middsol.CORBA.TypeCode _typeCode = null; public static Middsol.CORBA.TypeCode type() { if ( _typeCode==null ) _typeCode = create_type(); return _typeCode; } public static Middsol.CORBA.TypeCode create_type() { Middsol.CORBA.TypeCode typeCode = Middsol.CORBA.WStringValueHelper.create_type(); typeCode = Middsol.CORBA._ORB.ORB().create_sequence_tc( 0, typeCode ); typeCode = Middsol.CORBA._ORB.ORB().create_value_box_tc ( id(), "seq1_String", typeCode ); return typeCode; } public static void insert( Middsol.CORBA.Any a, string[] s ) { a.type( type()); write( a.create_output_stream(), s ); } public static string[] extract( Middsol.CORBA.Any a ) { return read( a.create_input_stream() ); } public static void write( Middsol.CORBA.portable.OutputStream outpStream, string[] s) { outpStream.write_value( s, _factory ); } public void write_value( Middsol.CORBA.portable.OutputStream outpStream, System.Object obj) { if ( obj == null ) { outpStream.write_long( 0 ); return; } if ( ! (obj is string[]) ) throw new Middsol.CORBA.MARSHAL(); string[] val = (string[]) obj; outpStream.write_long( val.Length ); for ( int idx0=0; idx0