public static org.omg.CosNaming.BindingIterator unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.BindingIterator) return (org.omg.CosNaming.BindingIterator)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._BindingIteratorStub stub = new org.omg.CosNaming._BindingIteratorStub (); stub._set_delegate(delegate); return stub; } }
public boolean next_one (org.omg.CosNaming.BindingHolder b) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_one", true); $in = _invoke ($out); boolean $result = $in.read_boolean (); b.value = org.omg.CosNaming.BindingHelper.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 next_one (b ); } finally { _releaseReply ($in); } } // next_one
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
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 boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_n", true); $out.write_ulong (how_many); $in = _invoke ($out); boolean $result = $in.read_boolean (); bl.value = org.omg.CosNaming.BindingListHelper.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 next_n (how_many, bl ); } finally { _releaseReply ($in); } } // next_n
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.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); _set_delegate (delegate); }
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);
/** * This operation returns at most the requested number of bindings. * * @param how_many the maximum number of bindings tro return <p> * * @param bl the returned bindings */ public boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_n", true); $out.write_ulong (how_many); $in = _invoke ($out); boolean $result = $in.read_boolean (); bl.value = org.omg.CosNaming.BindingListHelper.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 next_n (how_many, bl ); } finally { _releaseReply ($in); } } // next_n
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.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); _set_delegate (delegate); }
if(! this._is_local()) try _os = _request( "next_one", true); _is = _invoke(_os); boolean _result = _is.read_boolean(); b.value = org.omg.CosNaming.BindingHelper.read(_is); this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "next_one", _opsClass ); if( _so == null ) continue; _servant_postinvoke(_so);
/** * This operation returns the next binding. If there are no more * bindings, false is returned. * * @param b the returned binding */ public boolean next_one (org.omg.CosNaming.BindingHolder b) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_one", true); $in = _invoke ($out); boolean $result = $in.read_boolean (); b.value = org.omg.CosNaming.BindingHelper.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 next_one (b ); } finally { _releaseReply ($in); } } // next_one
/** * This operation destroys the iterator. */ 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
/** * This operation returns at most the requested number of bindings. * * @param how_many the maximum number of bindings tro return <p> * * @param bl the returned bindings */ public boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_n", true); $out.write_ulong (how_many); $in = _invoke ($out); boolean $result = $in.read_boolean (); bl.value = org.omg.CosNaming.BindingListHelper.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 next_n (how_many, bl ); } finally { _releaseReply ($in); } } // next_n
public static org.omg.CosNaming.BindingIterator unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.BindingIterator) return (org.omg.CosNaming.BindingIterator)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._BindingIteratorStub stub = new org.omg.CosNaming._BindingIteratorStub (); stub._set_delegate(delegate); return stub; } }
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 _os = _request( "next_one", true); _is = _invoke(_os); boolean _result = _is.read_boolean(); b.value = org.omg.CosNaming.BindingHelper.read(_is); this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "next_one", _opsClass ); if( _so == null ) continue; _servant_postinvoke(_so);
/** * This operation returns the next binding. If there are no more * bindings, false is returned. * * @param b the returned binding */ public boolean next_one (org.omg.CosNaming.BindingHolder b) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_one", true); $in = _invoke ($out); boolean $result = $in.read_boolean (); b.value = org.omg.CosNaming.BindingHelper.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 next_one (b ); } finally { _releaseReply ($in); } } // next_one
/** * This operation destroys the iterator. */ 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 static org.omg.CosNaming.BindingIterator unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.BindingIterator) return (org.omg.CosNaming.BindingIterator)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._BindingIteratorStub stub = new org.omg.CosNaming._BindingIteratorStub (); stub._set_delegate(delegate); return stub; } }
if(! this._is_local()) try _os = _request( "next_n", true); _os.write_ulong(how_many); _is = _invoke(_os); boolean _result = _is.read_boolean(); bl.value = org.omg.CosNaming.BindingListHelper.read(_is); this._releaseReply(_is); org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "next_n", _opsClass ); if( _so == null ) continue; _servant_postinvoke(_so);