KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CosNaming > BindingIteratorHolder


1 package org.omg.CosNaming;
2
3 /**
4 * org/omg/CosNaming/BindingIteratorHolder.java .
5 * Generated by the IDL-to-Java compiler (portable), version "3.2"
6 * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
7 * Saturday, February 9, 2008 9:40:10 AM GMT
8 */

9
10
11 /**
12    * The BindingIterator interface allows a client to iterate through
13    * the bindings using the next_one or next_n operations.
14    *
15    * The bindings iterator is obtained by using the <tt>list</tt>
16    * method on the <tt>NamingContext</tt>.
17    * @see org.omg.CosNaming.NamingContext#list
18    */

19 public final class BindingIteratorHolder implements org.omg.CORBA.portable.Streamable JavaDoc
20 {
21   public org.omg.CosNaming.BindingIterator JavaDoc value = null;
22
23   public BindingIteratorHolder ()
24   {
25   }
26
27   public BindingIteratorHolder (org.omg.CosNaming.BindingIterator JavaDoc initialValue)
28   {
29     value = initialValue;
30   }
31
32   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
33   {
34     value = org.omg.CosNaming.BindingIteratorHelper.read (i);
35   }
36
37   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
38   {
39     org.omg.CosNaming.BindingIteratorHelper.write (o, value);
40   }
41
42   public org.omg.CORBA.TypeCode JavaDoc _type ()
43   {
44     return org.omg.CosNaming.BindingIteratorHelper.type ();
45   }
46
47 }
48
Popular Tags