public static org.omg.CORBA.StringDef unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.StringDef) return (org.omg.CORBA.StringDef)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CORBA._StringDefStub stub = new org.omg.CORBA._StringDefStub (); stub._set_delegate(delegate); return stub; } }
if(!this._is_local()) try out = _request("_get_bound", true); in = _invoke(out); int _ob_r = in.read_ulong(); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("bound", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public int bound () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_bound", true); $in = _invoke ($out); int $result = $in.read_ulong (); 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 bound ( ); } finally { _releaseReply ($in); } } // bound
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.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
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
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("_set_bound", true); out.write_ulong(_ob_a); in = _invoke(out); return; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("bound", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public static StringDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (StringDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _StringDefStub _ob_stub = new _StringDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
public void bound (int newBound) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_bound", true); $out.write_ulong (newBound); $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) { bound (newBound ); } finally { _releaseReply ($in); } } // bound
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);
public static org.omg.CORBA.StringDef unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.StringDef) { return (org.omg.CORBA.StringDef)obj; } else { org.omg.CORBA._StringDefStub stub; stub = new org.omg.CORBA._StringDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
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.StringDef unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.StringDef) { return (org.omg.CORBA.StringDef)obj; } else { org.omg.CORBA._StringDefStub stub; stub = new org.omg.CORBA._StringDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
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 static StringDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (StringDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _StringDefStub _ob_stub = new _StringDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_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.StringDef narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.StringDef) { return (org.omg.CORBA.StringDef)obj; } else if (obj._is_a("IDL:omg.org/CORBA/StringDef:1.0")) { org.omg.CORBA._StringDefStub stub; stub = new org.omg.CORBA._StringDefStub(); 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.StringDef unchecked_narrow(final org.omg.CORBA.Object obj)
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.StringDef narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.StringDef) { return (org.omg.CORBA.StringDef)obj; } else if (obj._is_a("IDL:omg.org/CORBA/StringDef:1.0")) { org.omg.CORBA._StringDefStub stub; stub = new org.omg.CORBA._StringDefStub(); 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.StringDef unchecked_narrow(final org.omg.CORBA.Object obj)