public static org.omg.CORBA.IDLType unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.IDLType) return (org.omg.CORBA.IDLType)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CORBA._IDLTypeStub stub = new org.omg.CORBA._IDLTypeStub (); stub._set_delegate(delegate); return stub; } }
public void destroy () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { destroy ( ); } finally { _releaseReply ($in); } } // destroy
public org.omg.CORBA.DefinitionKind def_kind () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_def_kind", true); $in = _invoke ($out); org.omg.CORBA.DefinitionKind $result = org.omg.CORBA.DefinitionKindHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return def_kind ( ); } finally { _releaseReply ($in); } } // def_kind
public org.omg.CORBA.TypeCode type () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_type", true); $in = _invoke ($out); org.omg.CORBA.TypeCode $result = $in.read_TypeCode (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return type ( ); } finally { _releaseReply ($in); } } // type
if(!this._is_local()) try out = _request("destroy", true); in = _invoke(out); return; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public _IDLTypeStub(org.omg.CORBA.portable.Delegate delegate) { _set_delegate(delegate); }
if(!this._is_local()) try out = _request("_get_type", true); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException { String str = s.readUTF (); String[] args = null; java.util.Properties props = null; org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props); try { org.omg.CORBA.Object obj = orb.string_to_object (str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); _set_delegate (delegate); } finally { orb.destroy() ; } }
if(!this._is_local()) try out = _request("_get_def_kind", true); in = _invoke(out); DefinitionKind _ob_r = DefinitionKindHelper.read(in); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public static org.omg.CORBA.IDLType unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.IDLType) { return (org.omg.CORBA.IDLType)obj; } else { org.omg.CORBA._IDLTypeStub stub; stub = new org.omg.CORBA._IDLTypeStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
if(! this._is_local()) try _os = _request( "destroy", true); _is = _invoke(_os); return; this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "destroy", _opsClass ); if( _so == null ) continue; _servant_postinvoke(_so);
public static org.omg.CORBA.IDLType unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.IDLType) { return (org.omg.CORBA.IDLType)obj; } else { org.omg.CORBA._IDLTypeStub stub; stub = new org.omg.CORBA._IDLTypeStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
if(! this._is_local()) try _os = _request( "destroy", true); _is = _invoke(_os); return; this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "destroy", _opsClass ); if( _so == null ) continue; _servant_postinvoke(_so);
public static IDLType unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (IDLType)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _IDLTypeStub _ob_stub = new _IDLTypeStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
if(! this._is_local()) try _os = _request("_get_def_kind",true); _is = _invoke(_os); return org.omg.CORBA.DefinitionKindHelper.read(_is); this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "_get_def_kind", _opsClass); if( _so == null ) continue; _servant_postinvoke(_so);
public static IDLType read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (IDLType)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _IDLTypeStub _ob_stub = new _IDLTypeStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; }
if(! this._is_local()) try _os = _request("_get_type",true); _is = _invoke(_os); return _is.read_TypeCode(); this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "_get_type", _opsClass); if( _so == null ) continue; _servant_postinvoke(_so);
public static org.omg.CORBA.IDLType narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.IDLType) { return (org.omg.CORBA.IDLType)obj; } else if (obj._is_a("IDL:omg.org/CORBA/IDLType:1.0")) { org.omg.CORBA._IDLTypeStub stub; stub = new org.omg.CORBA._IDLTypeStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } else { throw new org.omg.CORBA.BAD_PARAM("Narrow failed"); } } public static org.omg.CORBA.IDLType unchecked_narrow(final org.omg.CORBA.Object obj)
if(! this._is_local()) try _os = _request("_get_def_kind",true); _is = _invoke(_os); return org.omg.CORBA.DefinitionKindHelper.read(_is); this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "_get_def_kind", _opsClass); if( _so == null ) continue; _servant_postinvoke(_so);
public static org.omg.CORBA.IDLType narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.IDLType) { return (org.omg.CORBA.IDLType)obj; } else if (obj._is_a("IDL:omg.org/CORBA/IDLType:1.0")) { org.omg.CORBA._IDLTypeStub stub; stub = new org.omg.CORBA._IDLTypeStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } else { throw new org.omg.CORBA.BAD_PARAM("Narrow failed"); } } public static org.omg.CORBA.IDLType unchecked_narrow(final org.omg.CORBA.Object obj)