001 package org.omg.GIOP;
002
003 /**
004 * Generated from IDL alias "LocateReplyHeader_1_1".
005 *
006 * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
007 * @version generated at Sep 6, 2011 5:12:29 AM
008 */
009
010 public final class LocateReplyHeader_1_1Helper
011 {
012 private static org.omg.CORBA.TypeCode _type = null;
013
014 public static void insert (org.omg.CORBA.Any any, org.omg.GIOP.LocateReplyHeader_1_0 s)
015 {
016 any.type (type ());
017 write (any.create_output_stream (), s);
018 }
019
020 public static org.omg.GIOP.LocateReplyHeader_1_0 extract (final org.omg.CORBA.Any any)
021 {
022 return read (any.create_input_stream ());
023 }
024
025 public static org.omg.CORBA.TypeCode type ()
026 {
027 if (_type == null)
028 {
029 _type = org.omg.CORBA.ORB.init().create_alias_tc(org.omg.GIOP.LocateReplyHeader_1_1Helper.id(), "LocateReplyHeader_1_1",org.omg.GIOP.LocateReplyHeader_1_0Helper.type());
030 }
031 return _type;
032 }
033
034 public static String id()
035 {
036 return "IDL:omg.org/GIOP/LocateReplyHeader_1_1:1.0";
037 }
038 public static org.omg.GIOP.LocateReplyHeader_1_0 read (final org.omg.CORBA.portable.InputStream _in)
039 {
040 org.omg.GIOP.LocateReplyHeader_1_0 _result;
041 _result=org.omg.GIOP.LocateReplyHeader_1_0Helper.read(_in);
042 return _result;
043 }
044
045 public static void write (final org.omg.CORBA.portable.OutputStream _out, org.omg.GIOP.LocateReplyHeader_1_0 _s)
046 {
047 org.omg.GIOP.LocateReplyHeader_1_0Helper.write(_out,_s);
048 }
049 }