org.omg.CosNaming
Interface BindingIteratorOperations

All Known Subinterfaces:
BindingIterator
All Known Implementing Classes:
_BindingIteratorImplBase, _BindingIteratorStub, BindingIteratorPOA

public interface BindingIteratorOperations

The operations, applicable for an iterator for seing the available bindings.

Since:
1.3

Method Summary
 void destroy()
          Destroy the iterator on the server side.
 boolean next_n(int amount, BindingListHolder a_list)
          Return the desired amount of bindings.
 boolean next_one(BindingHolder a_binding)
          Return the next binding.
 

Method Detail

destroy

void destroy()
Destroy the iterator on the server side. This must always be called, as otherwise the iterator will remain on the server even after the client application terminates.


next_n

boolean next_n(int amount,
               BindingListHolder a_list)
Return the desired amount of bindings.

Parameters:
amount - the maximal number of bindings to return.
a_list - a holder to store the returned bindings.
Returns:
false if there are no more bindings available, true otherwise.

next_one

boolean next_one(BindingHolder a_binding)
Return the next binding.

Parameters:
a_binding - a holder, where the next binding will be stored.
Returns:
false if there are no more bindings available, true otherwise.