org.omg.CosNaming

Interface BindingIteratorOperations

public interface BindingIteratorOperations

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

Since: 1.3

Method Summary
voiddestroy()
Destroy the iterator on the server side.
booleannext_n(int amount, BindingListHolder a_list)
Return the desired amount of bindings.
booleannext_one(BindingHolder a_binding)
Return the next binding.

Method Detail

destroy

public 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

public 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

public 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.