// Generated by the OmniBroker IDL to Java Translator // ********************************************************************** package hello; // // IDL:Hello:1.0 // public interface Hello extends org.omg.CORBA.Object { // // IDL:Hello/hello:1.0 // public void hello(); } // ********************************************************************** // // Generated by the OmniBroker IDL to Java Translator // // Copyright (c) 1997 // Object-Oriented Concepts, Inc. // Billerica, MA, USA // // Copyright (c) 1997 // Object-Oriented Concepts GmbH // Ettlingen, Germany // // All Rights Reserved // // ********************************************************************** package hello; // // IDL:Hello:1.0 // final public class HelloHelper { public static void insert(org.omg.CORBA.Any any, Hello val) { HelloHolder h = new HelloHolder(val); any.insert_Streamable(h); } public static Hello extract(org.omg.CORBA.Any any) { HelloHolder h = new HelloHolder(); any.extract_Streamable(h); return h.value; } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_interface_tc(id(), "Hello"); } return typeCode_; } public static String id() { return "IDL:Hello:1.0"; } public static Hello read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object val = in.read_Object(); return narrow(val); } public static void write(org.omg.CORBA.portable.OutputStream out, Hello val) { out.write_Object(val); } public static Hello narrow(org.omg.CORBA.Object obj) { if(obj != null) { try { return (Hello)obj; } catch(ClassCastException ex) { } if(obj._is_a(id())) { org.omg.CORBA.portable.ObjectImpl impl; impl = (org.omg.CORBA.portable.ObjectImpl)obj; StubForHello stub = new StubForHello(); stub._set_delegate(impl._get_delegate()); return stub; } } return null; } } // ********************************************************************** // // Generated by the OmniBroker IDL to Java Translator // // Copyright (c) 1997 // Object-Oriented Concepts, Inc. // Billerica, MA, USA // // Copyright (c) 1997 // Object-Oriented Concepts GmbH // Ettlingen, Germany // // All Rights Reserved // // ********************************************************************** package hello; // // IDL:Hello:1.0 // final public class HelloHolder implements org.omg.CORBA.portable.Streamable { public Hello value; public HelloHolder() { } public HelloHolder(Hello initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = HelloHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { HelloHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return HelloHelper.type(); } }