org.jacorb.orb
Class ClientInterceptorHandler

java.lang.Object
  extended by org.jacorb.orb.ClientInterceptorHandler

public class ClientInterceptorHandler
extends java.lang.Object

An instance of this class handles all interactions between one particular client request and any interceptors registered for it.

Version:
$Id: ClientInterceptorHandler.java,v 1.14 2009-05-03 21:35:54 andre.spiegel Exp $
Author:
Andre Spiegel

Constructor Summary
ClientInterceptorHandler(ClientInterceptorHandler original, ORB orb, RequestOutputStream ros, Object self, Delegate delegate, ParsedIOR piorOriginal, ClientConnection connection)
          Constructs an interceptor handler for the given parameters.
 
Method Summary
 void handle_location_forward(ReplyInputStream reply, Object forward_reference)
           
 void handle_receive_exception(ApplicationException exception, ReplyInputStream reply)
           
 void handle_receive_exception(SystemException exception)
           
 void handle_receive_exception(SystemException exception, ReplyInputStream reply)
           
 void handle_receive_other(short reply_status)
           
 void handle_receive_reply(ReplyInputStream reply)
           
 void handle_send_request()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInterceptorHandler

public ClientInterceptorHandler(ClientInterceptorHandler original,
                                ORB orb,
                                RequestOutputStream ros,
                                Object self,
                                Delegate delegate,
                                ParsedIOR piorOriginal,
                                ClientConnection connection)
Constructs an interceptor handler for the given parameters. If no interceptors are registered on the client side, the resulting object will be a dummy object that does nothing when invoked.

Parameters:
original - a ClientInterceptorHandler value which contains the original info and hence the original forward_request. May be null.
orb - an org.jacorb.orb.ORB value
ros - an org.jacorb.orb.giop.RequestOutputStream value
self - an org.omg.CORBA.Object value
delegate - an org.jacorb.orb.Delegate value
piorOriginal - an org.jacorb.orb.ParsedIOR value
connection - an org.jacorb.orb.giop.ClientConnection value
Method Detail

handle_send_request

public void handle_send_request()
                         throws RemarshalException
Throws:
RemarshalException

handle_location_forward

public void handle_location_forward(ReplyInputStream reply,
                                    Object forward_reference)
                             throws RemarshalException
Throws:
RemarshalException

handle_receive_reply

public void handle_receive_reply(ReplyInputStream reply)
                          throws RemarshalException
Throws:
RemarshalException

handle_receive_other

public void handle_receive_other(short reply_status)
                          throws RemarshalException
Throws:
RemarshalException

handle_receive_exception

public void handle_receive_exception(SystemException exception)
                              throws RemarshalException
Throws:
RemarshalException

handle_receive_exception

public void handle_receive_exception(SystemException exception,
                                     ReplyInputStream reply)
                              throws RemarshalException
Throws:
RemarshalException

handle_receive_exception

public void handle_receive_exception(ApplicationException exception,
                                     ReplyInputStream reply)
                              throws RemarshalException
Throws:
RemarshalException