Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jacorb.demo.sas;


Generated from IDL interface "SASDemo".

Author(s):
JacORB IDL compiler V 3.6
Version:
generated at 16-Feb-2015 23:02:10
 
public abstract class SASDemoHelper
	private volatile static org.omg.CORBA.TypeCode _type;
	public static org.omg.CORBA.TypeCode type ()
	{
		if ( == null)
		{
			synchronized(SASDemoHelper.class)
			{
				if ( == null)
				{
					 = org.omg.CORBA.ORB.init().create_interface_tc("IDL:org/jacorb/demo/sas/SASDemo:1.0""SASDemo");
				}
			}
		}
		return ;
	}
	public static void insert (final org.omg.CORBA.Any anyfinal org.jacorb.demo.sas.SASDemo s)
	{
	}
	public static org.jacorb.demo.sas.SASDemo extract(final org.omg.CORBA.Any any)
	{
		return narrow(any.extract_Object()) ;
	}
	public static String id()
	{
		return "IDL:org/jacorb/demo/sas/SASDemo:1.0";
	}
	public static SASDemo read(final org.omg.CORBA.portable.InputStream in)
	{
	}
	public static void write(final org.omg.CORBA.portable.OutputStream _outfinal org.jacorb.demo.sas.SASDemo s)
	{
		_out.write_Object(s);
	}
	public static org.jacorb.demo.sas.SASDemo narrow(final org.omg.CORBA.Object obj)
	{
		if (obj == null)
		{
			return null;
		}
		else if (obj instanceof org.jacorb.demo.sas.SASDemo)
		{
			return (org.jacorb.demo.sas.SASDemo)obj;
		}
		else if (obj._is_a("IDL:org/jacorb/demo/sas/SASDemo:1.0"))
		{
			stub = new org.jacorb.demo.sas._SASDemoStub();
			return stub;
		}
		else
		{
			throw new org.omg.CORBA.BAD_PARAM("Narrow failed");
		}
	}
	public static org.jacorb.demo.sas.SASDemo unchecked_narrow(final org.omg.CORBA.Object obj)
	{
		if (obj == null)
		{
			return null;
		}
		else if (obj instanceof org.jacorb.demo.sas.SASDemo)
		{
			return (org.jacorb.demo.sas.SASDemo)obj;
		}
		else
		{
			stub = new org.jacorb.demo.sas._SASDemoStub();
			return stub;
		}
	}
New to GrepCode? Check out our FAQ X