001    package org.omg.GIOP;
002    
003    
004    /**
005    * org/omg/GIOP/RequestHeader_1_3Helper.java .
006    * Generated by the IDL-to-Java compiler (portable), version "3.2"
007    * from /home/iurt/rpm/BUILD/geronimo-spec-corba/src/main/idl/GIOP.idl
008    * Saturday, November 26, 2011 9:53:36 PM UTC
009    */
010    
011    
012    // GIOP 1.3
013    abstract public class RequestHeader_1_3Helper
014    {
015      private static String  _id = "IDL:omg.org/GIOP/RequestHeader_1_3:1.0";
016    
017      public static void insert (org.omg.CORBA.Any a, org.omg.GIOP.RequestHeader_1_2 that)
018      {
019        org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
020        a.type (type ());
021        write (out, that);
022        a.read_value (out.create_input_stream (), type ());
023      }
024    
025      public static org.omg.GIOP.RequestHeader_1_2 extract (org.omg.CORBA.Any a)
026      {
027        return read (a.create_input_stream ());
028      }
029    
030      private static org.omg.CORBA.TypeCode __typeCode = null;
031      synchronized public static org.omg.CORBA.TypeCode type ()
032      {
033        if (__typeCode == null)
034        {
035          __typeCode = org.omg.GIOP.RequestHeader_1_2Helper.type ();
036          __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.GIOP.RequestHeader_1_3Helper.id (), "RequestHeader_1_3", __typeCode);
037        }
038        return __typeCode;
039      }
040    
041      public static String id ()
042      {
043        return _id;
044      }
045    
046      public static org.omg.GIOP.RequestHeader_1_2 read (org.omg.CORBA.portable.InputStream istream)
047      {
048        org.omg.GIOP.RequestHeader_1_2 value = null;
049        value = org.omg.GIOP.RequestHeader_1_2Helper.read (istream);
050        return value;
051      }
052    
053      public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.GIOP.RequestHeader_1_2 value)
054      {
055        org.omg.GIOP.RequestHeader_1_2Helper.write (ostream, value);
056      }
057    
058    }