Current poaCurrent = CurrentHelper.narrow(orb.resolve_initial_references("POACurrent"));
public void _read(org.omg.CORBA.portable.InputStream in) { value = CurrentHelper.read(in); }
public org.omg.CORBA.TypeCode _type() { return CurrentHelper.type(); } }
public void _write(org.omg.CORBA.portable.OutputStream out) { CurrentHelper.write(out, value); }
public static org.omg.PortableServer.Current narrow ( org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.PortableServer.Current) return (org.omg.PortableServer.Current)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); return null; }
public void _write (final org.omg.CORBA.portable.OutputStream _out) { CurrentHelper.write (_out,value); } }
synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc ( org.omg.PortableServer.CurrentHelper.id (), "Current"); } return __typeCode; }
public static org.omg.PortableServer.Current extract(final org.omg.CORBA.Any any) { return narrow(any.extract_Object()) ; } public static String id()
public org.omg.CORBA.TypeCode _type() { return CurrentHelper.type(); } public void _read (final org.omg.CORBA.portable.InputStream in)
public void _read (final org.omg.CORBA.portable.InputStream in) { value = CurrentHelper.read (in); } public void _write (final org.omg.CORBA.portable.OutputStream _out)
public void _write (final org.omg.CORBA.portable.OutputStream _out) { CurrentHelper.write (_out,value); } }
public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "Current"); } return typeCode_; }
public static org.omg.PortableServer.Current extract(final org.omg.CORBA.Any any) { return narrow(any.extract_Object()) ; } public static String id()
public org.omg.CORBA.TypeCode _type() { return CurrentHelper.type(); } public void _read (final org.omg.CORBA.portable.InputStream in)
public void _read (final org.omg.CORBA.portable.InputStream in) { value = CurrentHelper.read (in); } public void _write (final org.omg.CORBA.portable.OutputStream _out)
private synchronized void _getPOACurrent() { if (_current == null) { try { _current = org.omg.PortableServer.CurrentHelper.narrow(orb.resolve_initial_references("POACurrent")); } catch (Exception e) { throw new org.omg.CORBA.INITIALIZE(e.toString()); } } }
public static void insert(org.omg.CORBA.Any any, Current val) { any.insert_Object(val, type()); }
public static org.omg.PortableServer.Current extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); }