public static org.omg.CORBA.FixedDef unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.FixedDef) return (org.omg.CORBA.FixedDef)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CORBA._FixedDefStub stub = new org.omg.CORBA._FixedDefStub (); stub._set_delegate(delegate); return stub; } }
if(!this._is_local()) try out = _request("_get_digits", true); in = _invoke(out); short _ob_r = in.read_ushort(); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("digits", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
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 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 void digits (short newDigits) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_digits", true); $out.write_ushort (newDigits); $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) { digits (newDigits ); } finally { _releaseReply ($in); } } // digits
public short scale () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_scale", true); $in = _invoke ($out); short $result = $in.read_short (); 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 scale ( ); } finally { _releaseReply ($in); } } // scale
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
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() ; } }
public short digits () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_digits", true); $in = _invoke ($out); short $result = $in.read_ushort (); 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 digits ( ); } finally { _releaseReply ($in); } } // digits
public void scale (short newScale) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_scale", true); $out.write_short (newScale); $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) { scale (newScale ); } finally { _releaseReply ($in); } } // scale
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.FixedDef unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.FixedDef) { return (org.omg.CORBA.FixedDef)obj; } else { org.omg.CORBA._FixedDefStub stub; stub = new org.omg.CORBA._FixedDefStub(); 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.FixedDef unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.FixedDef) { return (org.omg.CORBA.FixedDef)obj; } else { org.omg.CORBA._FixedDefStub stub; stub = new org.omg.CORBA._FixedDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
if(!this._is_local()) try out = _request("_set_digits", true); out.write_ushort(_ob_a); in = _invoke(out); return; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("digits", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public static FixedDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (FixedDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _FixedDefStub _ob_stub = new _FixedDefStub(); _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 out = _request("_get_scale", true); in = _invoke(out); short _ob_r = in.read_short(); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("scale", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public static FixedDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (FixedDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _FixedDefStub _ob_stub = new _FixedDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; }
if(!this._is_local()) try out = _request("_set_scale", true); out.write_short(_ob_a); in = _invoke(out); return; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("scale", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public static org.omg.CORBA.FixedDef narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.FixedDef) { return (org.omg.CORBA.FixedDef)obj; } else if (obj._is_a("IDL:omg.org/CORBA/FixedDef:1.0")) { org.omg.CORBA._FixedDefStub stub; stub = new org.omg.CORBA._FixedDefStub(); 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.FixedDef unchecked_narrow(final org.omg.CORBA.Object obj)