public abstract class BindingIteratorImpl extends BindingIteratorPOA
The operation next_one() is implemented by the subclass, whereas next_n() is implemented on top of the next_one() implementation. Destroy must also be implemented by the subclass.
A subclass must implement NextOne() and Destroy(); these methods are invoked from synchronized methods and need therefore not be synchronized themselves.
Constructor and Description |
---|
BindingIteratorImpl(ORB orb)
Create a binding iterator servant.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this BindingIterator object.
|
protected abstract void |
Destroy()
Abstract method for destroying this BindingIterator.
|
boolean |
list(int how_many,
BindingListHolder blh)
lists next n bindings.
|
boolean |
next_n(int how_many,
BindingListHolder blh)
Return the next n bindings.
|
boolean |
next_one(BindingHolder b)
Return the next binding.
|
protected abstract boolean |
NextOne(BindingHolder b)
Abstract method for returning the next binding in the NamingContext
for which this BindingIterator was created.
|
protected abstract int |
RemainingElements()
Abstract method for returning the remaining number of elements.
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
protected ORB orb
public boolean next_one(BindingHolder b)
b
- The Binding as an out parameter.SystemException
- One of a fixed set of CORBA
system exceptions.NextOne
public boolean next_n(int how_many, BindingListHolder blh)
how_many
- The number of requested bindings in the BindingList.bl
- The BindingList as an out parameter.SystemException
- One of a fixed set of CORBA
system exceptions.NextOne
public boolean list(int how_many, BindingListHolder blh)
how_many
- The number of requested bindings in the BindingList.bl
- The BindingList as an out parameter.public void destroy()
SystemException
- One of a fixed set of CORBA
system exceptions.Destroy
protected abstract boolean NextOne(BindingHolder b)
b
- The Binding as an out parameter.SystemException
- One of a fixed set of CORBA
system exceptions.protected abstract void Destroy()
SystemException
- One of a fixed set of CORBA
system exceptions.protected abstract int RemainingElements()
Copyright © 2021 JBoss by Red Hat. All rights reserved.