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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root POA from the ORB instance associated with the servant.void
_delegate
(BindingIteratorOperations delegate) void
destroy()
This operation destroys the iterator.boolean
next_n
(int how_many, BindingListHolder bl) This operation returns at most the requested number of bindings.boolean
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
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
-
Field Details
-
_impl
-
_poa
-
-
Constructor Details
-
BindingIteratorPOATie
-
BindingIteratorPOATie
-
-
Method Details
-
_delegate
-
_delegate
-
_default_POA
Description copied from class:Servant
Returns the root POA from the ORB instance associated with the servant. Subclasses may override this method to return a different POA.- Overrides:
_default_POA
in classServant
- Returns:
default_POA
the 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- Returns:
- true if there are more bindings
-
next_n
This operation returns at most the requested number of bindings.- Parameters:
how_many
- the maximum number of bindings to returnbl
- the returned bindings- Returns:
- the bindings
-
destroy
public void destroy()This operation destroys the iterator.
-