org.omg.CosNaming
Class BindingIteratorPOA

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNaming.BindingIteratorPOA
All Implemented Interfaces:
InvokeHandler, BindingIteratorOperations

public abstract class BindingIteratorPOA
extends Servant
implements BindingIteratorOperations, InvokeHandler

The binding iterator servant, used in POA-based naming service implementations.

Since:
1.4

Constructor Summary
BindingIteratorPOA()
           
 
Method Summary
 String[] _all_interfaces(POA poa, byte[] object_ID)
          Get the repository ids of all interfaces, supported by the CORBA object, identified by the passed Id.
 OutputStream _invoke(String method, InputStream in, ResponseHandler rh)
          Call the required method.
 BindingIterator _this()
          Get the CORBA object that delegates calls to this servant.
 BindingIterator _this(ORB orb)
          Get the CORBA object that delegates calls to this servant.
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CosNaming.BindingIteratorOperations
destroy, next_n, next_one
 

Constructor Detail

BindingIteratorPOA

public BindingIteratorPOA()
Method Detail

_all_interfaces

public String[] _all_interfaces(POA poa,
                                byte[] object_ID)
Description copied from class: Servant
Get the repository ids of all interfaces, supported by the CORBA object, identified by the passed Id. In the typical code the passed parameters are ignored, returning an array of repository ids, supported by the servant implementation.

Specified by:
_all_interfaces in class Servant
Parameters:
poa - a POA of the given object.
object_ID - the object Id of the given object.
Returns:
an array, containing the repository ids.

_invoke

public OutputStream _invoke(String method,
                            InputStream in,
                            ResponseHandler rh)
Call the required method.

Specified by:
_invoke in interface InvokeHandler
Parameters:
method - the name of the method to invoke.
in - the input stream to read parameters from.
rh - the response handler, used for creating the reply.
Returns:
the output stream, returned by ResponseHandler. The response values are already written to that stream.

_this

public BindingIterator _this()
Get the CORBA object that delegates calls to this servant. The servant must be already connected to an ORB.


_this

public BindingIterator _this(ORB orb)
Get the CORBA object that delegates calls to this servant. Connect to the given ORB, if needed.