1. package org.omg.CosNaming;
  2. /**
  3. * org/omg/CosNaming/BindingIteratorHolder.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 final class BindingIteratorHolder implements org.omg.CORBA.portable.Streamable
  17. {
  18. public org.omg.CosNaming.BindingIterator value = null;
  19. public BindingIteratorHolder ()
  20. {
  21. }
  22. public BindingIteratorHolder (org.omg.CosNaming.BindingIterator initialValue)
  23. {
  24. value = initialValue;
  25. }
  26. public void _read (org.omg.CORBA.portable.InputStream i)
  27. {
  28. value = org.omg.CosNaming.BindingIteratorHelper.read (i);
  29. }
  30. public void _write (org.omg.CORBA.portable.OutputStream o)
  31. {
  32. org.omg.CosNaming.BindingIteratorHelper.write (o, value);
  33. }
  34. public org.omg.CORBA.TypeCode _type ()
  35. {
  36. return org.omg.CosNaming.BindingIteratorHelper.type ();
  37. }
  38. }