org.jacorb.orb

Class ClientInterceptorHandler

public class ClientInterceptorHandler extends 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.12 2006/06/29 10:26:09 alphonse.bendt 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
voidhandle_location_forward(ReplyInputStream reply, Object forward_reference)
voidhandle_receive_exception(SystemException exception)
voidhandle_receive_exception(SystemException exception, ReplyInputStream reply)
voidhandle_receive_exception(ApplicationException exception, ReplyInputStream reply)
voidhandle_receive_other(short reply_status)
voidhandle_receive_reply(ReplyInputStream reply)
voidhandle_send_request()

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_location_forward

public void handle_location_forward(ReplyInputStream reply, Object forward_reference)

handle_receive_exception

public void handle_receive_exception(SystemException exception)

handle_receive_exception

public void handle_receive_exception(SystemException exception, ReplyInputStream reply)

handle_receive_exception

public void handle_receive_exception(ApplicationException exception, ReplyInputStream reply)

handle_receive_other

public void handle_receive_other(short reply_status)

handle_receive_reply

public void handle_receive_reply(ReplyInputStream reply)

handle_send_request

public void handle_send_request()