1. package org.omg.CosNaming;
  2. /**
  3. * org/omg/CosNaming/BindingIteratorOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
  6. * Wednesday, September 15, 2004 10:28:47 AM GMT
  7. */
  8. /**
  9. * The BindingIterator interface allows a client to iterate through
  10. * the bindings using the next_one or next_n operations.
  11. *
  12. * The bindings iterator is obtained by using the <tt>list</tt>
  13. * method on the <tt>NamingContext</tt>.
  14. * @see org.omg.CosNaming.NamingContext#list
  15. */
  16. public interface BindingIteratorOperations
  17. {
  18. /**
  19. * This operation returns the next binding. If there are no more
  20. * bindings, false is returned.
  21. *
  22. * @param b the returned binding
  23. */
  24. boolean next_one (org.omg.CosNaming.BindingHolder b);
  25. /**
  26. * This operation returns at most the requested number of bindings.
  27. *
  28. * @param how_many the maximum number of bindings tro return <p>
  29. *
  30. * @param bl the returned bindings
  31. */
  32. boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl);
  33. /**
  34. * This operation destroys the iterator.
  35. */
  36. void destroy ();
  37. } // interface BindingIteratorOperations