Novell exteNd Messaging Platform 5.2

org.omg.CosNaming
Class _BindingIteratorImplBase

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CosNaming._BindingIteratorImplBase
All Implemented Interfaces:
BindingIterator, IDLEntity, InvokeHandler, Object, Serializable

public abstract class _BindingIteratorImplBase
extends ObjectImpl
implements BindingIterator, InvokeHandler

Stream based Skeleton for BindingIterator

See Also:
Serialized Form

Constructor Summary
_BindingIteratorImplBase()
           
 
Method Summary
 String[] _ids()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 OutputStream _invoke(String _method, InputStream _is, ResponseHandler _rh)
          Invoked by the ORB to dispatch a request to the servant.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CosNaming.BindingIterator
destroy, next_n, next_one
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_BindingIteratorImplBase

public _BindingIteratorImplBase()
Method Detail

_invoke

public OutputStream _invoke(String _method,
                            InputStream _is,
                            ResponseHandler _rh)
Description copied from interface: InvokeHandler
Invoked by the ORB to dispatch a request to the servant. ORB passes the method name, an InputStream containing the marshalled arguments, and a ResponseHandler which the servant uses to construct a proper reply. Only CORBA SystemException may be thrown by this method. The method must return an OutputStream created by the ResponseHandler which contains the marshalled reply. A servant must not retain a reference to the ResponseHandler beyond the lifetime of a method invocation. Servant behaviour is defined as follows:

1. Determine correct method, and unmarshal parameters from InputStream.

2. Invoke method implementation.

3. If no user exception, create a normal reply using ResponseHandler.

4. If user exception occurred, create exception reply using ResponseHandler.

5. Marshal reply into OutputStream returned by ResponseHandler.

6. Return OutputStream to ORB.

Specified by:
_invoke in interface InvokeHandler
Parameters:
_method - The method name.
_is - The InputStream containing the marshalled arguments.
_rh - The ResponseHandler which the servant uses to construct a proper reply
Returns:
The OutputStream created by the ResponseHandler which contains the marshalled reply

_ids

public String[] _ids()
Description copied from class: ObjectImpl
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.

Specified by:
_ids in class ObjectImpl
Returns:
the array of all repository identifiers supported by this ObjectImpl instance

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.