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