org.openorb.ins
Class BindingIteratorImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNaming.BindingIteratorPOA
          extended by org.openorb.ins.BindingIteratorImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, org.omg.CosNaming.BindingIteratorOperations

public class BindingIteratorImpl
extends org.omg.CosNaming.BindingIteratorPOA

This class is the implementation of BindingIterator.

Author:
Marina Daniel

Constructor Summary
BindingIteratorImpl(org.omg.CORBA.ORB orb, java.util.Vector bl)
          Constructor
 
Method Summary
 void destroy()
          This operation destroys the iterator.
 boolean next_n(int how_many, org.omg.CosNaming.BindingListHolder bl)
          This operation returns at most the requested number of bindings.
 boolean next_one(org.omg.CosNaming.BindingHolder b)
          This operation returns the next binding.
 
Methods inherited from class org.omg.CosNaming.BindingIteratorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingIteratorImpl

public BindingIteratorImpl(org.omg.CORBA.ORB orb,
                           java.util.Vector bl)
Constructor

Method Detail

next_one

public boolean next_one(org.omg.CosNaming.BindingHolder b)
This operation returns the next binding.

Returns:
If there are no more bindings, false is returned.

next_n

public boolean next_n(int how_many,
                      org.omg.CosNaming.BindingListHolder bl)
This operation returns at most the requested number of bindings.


destroy

public void destroy()
This operation destroys the iterator.