org.omg.XA.ThreadModelHelper Maven / Gradle / Ivy
The newest version!
package org.omg.XA;
/**
* Generated from IDL alias "ThreadModel".
*
* @author JacORB IDL compiler V 2.3.1 (JBoss patch01), 29-Jul-2009
* @version generated at Oct 2, 2012 3:07:47 PM
*/
public final class ThreadModelHelper
{
private static org.omg.CORBA.TypeCode _type = null;
public static void insert (org.omg.CORBA.Any any, short s)
{
any.insert_short(s);
}
public static short extract (final org.omg.CORBA.Any any)
{
return any.extract_short();
}
public static org.omg.CORBA.TypeCode type ()
{
if (_type == null)
{
_type = org.omg.CORBA.ORB.init().create_alias_tc(org.omg.XA.ThreadModelHelper.id(), "ThreadModel",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2)));
}
return _type;
}
public static String id()
{
return "IDL:omg.org/XA/ThreadModel:1.0";
}
public static short read (final org.omg.CORBA.portable.InputStream _in)
{
short _result;
_result=_in.read_short();
return _result;
}
public static void write (final org.omg.CORBA.portable.OutputStream _out, short _s)
{
_out.write_short(_s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy