org.omg.CosNaming

Interface BindingIterator

public interface BindingIterator extends BindingIteratorOperations, Object, Serializable, IDLEntity

The iterator for seing the available bindings.
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.

UNKNOWN: since 1.3 this method has moved into BindingIteratorOperations.

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.

UNKNOWN: since 1.3 this method has moved into BindingIteratorOperations.

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.

UNKNOWN: since 1.3 this method has moved into BindingIteratorOperations.