Package org.omg.CosNaming
Class BindingIteratorPOATie
java.lang.Object
org.omg.PortableServer.Servant
org.omg.CosNaming.BindingIteratorPOA
org.omg.CosNaming.BindingIteratorPOATie
- All Implemented Interfaces:
InvokeHandler,BindingIteratorOperations
The BindingIterator interface allows a client to iterate through
the bindings using the next_one or next_n operations.
The bindings iterator is obtained by using the list
method on the NamingContext.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root POA from the ORB instance associated with the servant.void_delegate(BindingIteratorOperations delegate) voiddestroy()This operation destroys the iterator.booleannext_n(int how_many, BindingListHolder bl) This operation returns at most the requested number of bindings.booleanThis operation returns the next binding.Methods inherited from class org.omg.CosNaming.BindingIteratorPOA
_all_interfaces, _invoke, _this, _thisMethods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
-
Constructor Details
-
BindingIteratorPOATie
-
BindingIteratorPOATie
-
-
Method Details
-
_delegate
-
_delegate
-
_default_POA
Description copied from class:ServantReturns the root POA from the ORB instance associated with the servant. Subclasses may override this method to return a different POA.- Overrides:
_default_POAin classServant- Returns:
default_POAthe POA associated with theServant.
-
next_one
This operation returns the next binding. If there are no more bindings, false is returned.- Parameters:
b- the returned binding
-
next_n
This operation returns at most the requested number of bindings.- Parameters:
how_many- the maximum number of bindings tro returnbl- the returned bindings
-
destroy
public void destroy()This operation destroys the iterator.
-